商城列表需要优化

This commit is contained in:
bobobobo
2025-12-24 22:21:24 +08:00
parent b67f9611c7
commit 334c0800fa
8 changed files with 202 additions and 64 deletions

View File

@@ -14,6 +14,7 @@ const request = options => {
method: 'GET',
data: {},
header: {
'deviceId': uni.getDeviceInfo().deviceId,
'Content-Type': 'application/json' // 默认请求内容类型
}
}

View File

@@ -17,7 +17,7 @@ export const removeToken = () => {
/** 保存用户信息 */
export const setUserInfoData = v => {
return uni.setStorageSync(STORAGE_KEYS.USER, JSON.stringify(v))
return uni.setStorageSync(STORAGE_KEYS.USER, JSON.stringify(v))
}
/** 获取用户信息 */