diff --git a/common/api/request.js b/common/api/request.js
index da44ef7..651682b 100644
--- a/common/api/request.js
+++ b/common/api/request.js
@@ -1,3 +1,5 @@
+
+
export default async (params) => {
let url = params.url;
let method = params.method || "get";
@@ -34,7 +36,33 @@ export default async (params) => {
mask: true,
});
}
-
+ // #ifdef H5
+ uni.cache.set('token', 'b61c8b0f1c9d47ad924e33c48b496ce6')
+ uni.cache.set('userInfo', {
+ "acQrcodeValidTime": "2025-11-17 17:57:16",
+ "alipayOpenId": "",
+ "birthDay": "2025-10-17",
+ "createTime": "2024-07-06 11:30:16",
+ "distributionAmount": 0,
+ "headImg": "https://thirdwx.qlogo.cn/mmopen/vi_32/POgEwh4mIHO4nibH0KlMECNjjGxQUq24ZEaGT4poC6icRiccVGKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132",
+ "id": "36434",
+ "idCard": "612401199810058031",
+ "isAc": 0,
+ "lastLoginTime": "2025-12-24 14:30:51",
+ "nickName": "微信用户",
+ "password": "",
+ "payPwd": "e10adc3949ba59abbe56e057f20f883e",
+ "phone": "18049104914",
+ "realName": "叶明飞",
+ "sex": 1,
+ "status": 1,
+ "updateTime": "2025-12-24 14:29:51",
+ "usePayPwd": 0,
+ "wechatAcOpenId": "1111",
+ "wechatAcQrcode": "",
+ "wechatOpenId": "or1l86yipGvwyfPhrKIAcQuSfAV8"
+ })
+ // #endif
return new Promise((resolve, reject) => {
const timeoutDuration = params.timeout || 10000; // 可以通过 params 传入超时时间,默认 10 秒
uni.request({
diff --git a/common/config.js b/common/config.js
index b15f716..177b59b 100644
--- a/common/config.js
+++ b/common/config.js
@@ -3,33 +3,7 @@ const debug = true; // false线上 true本地
let baseUrl = ''
let baseUrlwws = ''
-// #ifdef H5
-uni.cache.set('token', 'b61c8b0f1c9d47ad924e33c48b496ce6')
-uni.cache.set('userInfo', {
- "acQrcodeValidTime": "2025-11-17 17:57:16",
- "alipayOpenId": "",
- "birthDay": "2025-10-17",
- "createTime": "2024-07-06 11:30:16",
- "distributionAmount": 0,
- "headImg": "https://thirdwx.qlogo.cn/mmopen/vi_32/POgEwh4mIHO4nibH0KlMECNjjGxQUq24ZEaGT4poC6icRiccVGKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132",
- "id": "36434",
- "idCard": "612401199810058031",
- "isAc": 0,
- "lastLoginTime": "2025-12-24 14:30:51",
- "nickName": "微信用户",
- "password": "",
- "payPwd": "e10adc3949ba59abbe56e057f20f883e",
- "phone": "18049104914",
- "realName": "叶明飞",
- "sex": 1,
- "status": 1,
- "updateTime": "2025-12-24 14:29:51",
- "usePayPwd": 0,
- "wechatAcOpenId": "1111",
- "wechatAcQrcode": "",
- "wechatOpenId": "or1l86yipGvwyfPhrKIAcQuSfAV8"
-})
-// #endif
+
const version = "100";
diff --git a/pages/product/index.vue b/pages/product/index.vue
index da012bb..b718ad8 100644
--- a/pages/product/index.vue
+++ b/pages/product/index.vue
@@ -442,6 +442,10 @@
+
+
+
+