[体验官活动]

This commit is contained in:
2023-07-12 17:56:36 +08:00
parent f870682e25
commit a9588815b8
29 changed files with 1599 additions and 217 deletions

View File

@@ -9,8 +9,9 @@ import {updToken} from './updateToken'
// 请求方式配置
// https://api.shui.shuiganying.com/api //正式地址
// https://shuitest.shuiganying.com/api //测试地址
// wx6bd4fcc040bfa025 正式appid
// wx3056ec23196eaf02 测试appid
// wx6bd4fcc040bfa025 水感应 正式appid
// wx9ae0c63d0c58caeb 测试appid 三猿
// wx3056ec23196eaf02 水感应 测试
// const api = "https://api.shui.shuiganying.com/api/" // 正式环境
const api = "https://shuitest.shuiganying.com/api/" // 测试环境
const header = {
@@ -91,6 +92,9 @@ const req = (obj, noToken) => {
*/
const upload = (obj) => {
console.log(obj)
// header
header.Authorization = wx.getStorageSync("token") || ""
// 处理上传信息