mirror of
https://gitee.com/ZhongBangKeJi/crmeb_java.git
synced 2026-04-23 12:08:33 +08:00
v1.1
1、提货点 2、客服(腾讯云智服) 3、接口权限控制 4、复制第三方商品可配置 4、优化附件上传配置 5、手机端核销订单 6、手机端订单统计、订单管理 7、短信优化 8、订阅消息全自动化
This commit is contained in:
@@ -2,7 +2,7 @@ import { spread } from "@/api/user";
|
||||
import Cache from "@/utils/cache";
|
||||
|
||||
/**
|
||||
* 绑定用户授权
|
||||
* 静默授权绑定上下级,使用在已经登录后扫描了别人的推广二维码
|
||||
* @param {Object} puid
|
||||
*/
|
||||
export function silenceBindingSpread()
|
||||
@@ -25,20 +25,21 @@ export function silenceBindingSpread()
|
||||
puid = 0;
|
||||
}
|
||||
if(puid){
|
||||
spread(puid).then(res=>{
|
||||
console.log(res);
|
||||
//#ifdef H5
|
||||
Cache.clear('spread');
|
||||
//#endif
|
||||
|
||||
//#ifdef MP
|
||||
getApp().globalData.spid = 0;
|
||||
getApp().globalData.code = 0;
|
||||
//#endif
|
||||
|
||||
}).catch(res=>{
|
||||
console.log(res);
|
||||
});
|
||||
//#ifdef H5
|
||||
Cache.set('spread', 0);
|
||||
//#endif
|
||||
|
||||
//#ifdef MP
|
||||
getApp().globalData.spid = 0;
|
||||
getApp().globalData.code = 0;
|
||||
//#endif
|
||||
// spread(puid).then(res=>{
|
||||
// console.log(res);
|
||||
// }).catch(res=>{
|
||||
// console.log(res);
|
||||
// });
|
||||
}else{
|
||||
Cache.set('spread', 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user