提交内容

This commit is contained in:
wuhui_zzw 2023-11-13 13:56:54 +08:00
parent 72e2b53942
commit 6b8e1bf26f
1 changed files with 5 additions and 8 deletions

View File

@ -50,22 +50,19 @@ export function merPath(path, mer_id, name){
* @param {Object} puid
*/
export function silenceBindingSpread() {
let puid = 0;
//#ifdef H5
let puid = Cache.get('spread');
puid = Cache.get('spread');
//#endif
//#ifdef MP || APP-PLUS
let puid = getApp().globalData.spid;
if (!puid) {
puid = getApp().globalData.code;
}
puid = getApp().globalData.spid;
if (!puid) puid = getApp().globalData.code;
//#endif
puid = parseInt(puid);
if (Number.isNaN(puid)) {
puid = 0;
}
if (Number.isNaN(puid)) puid = 0;
if (puid) {
//#ifdef H5