问题描述:
小程序端绑定推广人业务异常。

解决方法:
修改文件:App.vue,搜索“silenceBindingSpread”:

if (option.query.spid) {
that.$Cache.set('spid', option.query.spid);
that.globalData.spid = option.query.spid;
silenceBindingSpread(this);
}修改文件:utils/index.js,修改“silenceBindingSpread”:

export function silenceBindingSpread(that)
{
let puid = 0,code = 0;
// #ifdef H5
puid = Cache.get('spid');
// #endif
// #ifndef H5
if (that === undefined) {
that = getApp();
}
puid = that.globalData.spid;
code = that.globalData.code;
// #endif
puid = Number(puid);
if(isNaN(puid)){
puid = 0;
}
if(puid){
spread({puid,code}).then(res=>{
//#ifdef H5
Cache.clear('spid');
//#endif
// #ifndef H5
that.globalData.spid = 0;
that.globalData.code = 0;
// #endif
}).catch(res=>{
});
}
}修改完成后需要重新打包,打包教程: https://doc.crmeb.com/pro/crmebprov3_2/21559

