修改首页和登录页统计接口逻辑

This commit is contained in:
田岩
2025-06-24 16:41:10 +08:00
parent 9d354db292
commit c2520d4e8c
31 changed files with 2569 additions and 161 deletions
+3 -3
View File
@@ -32,14 +32,14 @@ export const REQUES_ERROR_CODES = {
let no_login_show_modal_state = false
// 去登录方法
export const goto_login_fun = () => {
// if (no_login_show_modal_state) return;
if (no_login_show_modal_state) return;
no_login_show_modal_state = true
common.hideLoading()
common.show('未登录', '现在去登录').then(() => {
common.navigateTo('/pages/login/login')
}).finally(() => {
no_login_show_modal_state = false
})
})
}
@@ -96,7 +96,7 @@ export default function request({
return reject(res)
},
fail(res) {
console.log('131231', res, url, base_url);
console.log('请求错误', res, url, base_url);
}
});
})