|
@@ -233,10 +233,17 @@ window.kefu = {
|
|
wxer: ''
|
|
wxer: ''
|
|
}
|
|
}
|
|
function getKefuInfo () {
|
|
function getKefuInfo () {
|
|
|
|
+ var data = {}
|
|
|
|
+ // 官网展示客服,主站有客成展示客成,没有展示客服活码
|
|
|
|
+ if(window.__headerSiteType === 0) {
|
|
|
|
+ data = {
|
|
|
|
+ type: "kf"
|
|
|
|
+ }
|
|
|
|
+ }
|
|
$.ajax({
|
|
$.ajax({
|
|
type: 'post',
|
|
type: 'post',
|
|
url: '/bigmember/use/getCustom',
|
|
url: '/bigmember/use/getCustom',
|
|
- data: { type: "kf" },
|
|
|
|
|
|
+ data: data,
|
|
success: function (res) {
|
|
success: function (res) {
|
|
if (res && res.data) {
|
|
if (res && res.data) {
|
|
const resData = res.data || {}
|
|
const resData = res.data || {}
|