修改本地测试连接,增加会员中心分包和页面

This commit is contained in:
2025-09-25 11:12:20 +08:00
parent c7e4e5e26b
commit e38cfe1eaa
16 changed files with 491 additions and 48 deletions

View File

@@ -5,8 +5,9 @@ export default (params) => {
let type = params.type || 1;
let toast = params.toast || true;
let token=uni.cache.get('token') || '';
const shopId=uni.cache.get('shopId')*1;
// #ifdef H5
token="b152112b96e24feb8aa47062136c043b"
token="21f0a0b10e1d40ce9c6464037fedb792"
// #endif
let header = {
version: uni.conf.version,
@@ -25,7 +26,7 @@ export default (params) => {
// #endif
token,
id: uni.cache.get('userInfo').id || '',
shopId: uni.cache.get('shopId') || '',
shopId:shopId || '',
userId: uni.cache.get('userInfo').id || '',
}
if (toast) {