我的页面

This commit is contained in:
姚亚男
2021-10-11 16:49:22 +08:00
parent e4e2740c0b
commit 224833685d
28 changed files with 216 additions and 5738 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ let baseUrl = 'http://10.0.1.9:8080'
// let baseUrl = 'http://localhost:8080'
const http = (method, url, data, header= headerDefault) => {
let Authorization = wx.getStorageSync(TokenKey) ? wx.getStorageSync(TokenKey) : '';
header[TokenKey] = Authorization == '' ? '' : JSON.parse(Authorization)
header[TokenKey] = Authorization == '' ? '' : Authorization
return new Promise((resolve, reject) => {
wx.showLoading({
title: '加载中...',