商品弹窗代码修改

This commit is contained in:
2025-12-25 09:29:09 +08:00
parent cf562b28b0
commit f75f90d34f
4 changed files with 27 additions and 17 deletions

View File

@@ -1,5 +1,3 @@
export default async (params) => {
let url = params.url;
let method = params.method || "get";
@@ -9,7 +7,7 @@ export default async (params) => {
let token = uni.cache.get("token") || "";
const shopId = uni.cache.get("shopId") * 1;
const userInfo = uni.cache.get("userInfo") || {};
let header = {
version: uni.conf.version,
type: uni.getSystemInfoSync().platform,
@@ -48,7 +46,7 @@ export default async (params) => {
"id": "36434",
"idCard": "612401199810058031",
"isAc": 0,
"lastLoginTime": "2025-12-24 14:30:51",
"lastLoginTime": "2025-12-25 09:19:20",
"nickName": "微信用户",
"password": "",
"payPwd": "e10adc3949ba59abbe56e057f20f883e",
@@ -56,7 +54,7 @@ export default async (params) => {
"realName": "叶明飞",
"sex": 1,
"status": 1,
"updateTime": "2025-12-24 14:29:51",
"updateTime": "2025-12-25 09:17:59",
"usePayPwd": 0,
"wechatAcOpenId": "1111",
"wechatAcQrcode": "",

View File

@@ -23,7 +23,7 @@ function init() {
// #ifdef H5
if (debug) {
baseUrl = "/api";
baseUrl = "/testApi";
baseUrlwws = "http://192.168.1.42:2348";
} else {
baseUrl = "/prodApi";
@@ -48,7 +48,7 @@ export const changeEnv = (env) => {
let baseUrl = "http://192.168.1.42"
let baseUrlwws = "ws://192.168.1.42:2348"
// #ifdef H5
baseUrl = "/api"
baseUrl = "/testApi"
baseUrlwws = "http://192.168.1.42:2348"
// #endif
uni.conf = {