feat: 接入三tab导航(首页/中奖记录/我的)、活动规则静态页、奖品详情弹窗;接口切换hnlylaw并透传authorization;缓存键统一Sft后缀;问卷ID切1005;注册增加收货地址;答题计时精确到0.01s及交互优化

This commit is contained in:
lcj
2026-10-30 09:47:31 +08:00
parent 305e22ddc5
commit ead48745c2
21 changed files with 1583 additions and 273 deletions
+6 -4
View File
@@ -27,10 +27,12 @@ const install = (Vue, vm) => {
// config.header.token = getApp().globalData.username;
// 方式四,如果token放在了Storage本地存储中,拦截是每次请求都执行的,所以哪怕您重新登录修改了Storage,下一次的请求将会是最新值
const token = uni.getStorageSync('token');
config.header.Authorization = 'Bearer '+token;
return config;
const authorization = uni.getStorageSync('authorizationSft');
if (authorization) {
config.header.authorization = authorization;
}
return config;
}
// 响应拦截,判断状态码是否通过
Vue.prototype.$u.http.interceptor.response = (res) => {