push them all

This commit is contained in:
Mauve
2026-09-29 21:51:58 +08:00
parent 54a9182746
commit 3f8930df4c
13 changed files with 176 additions and 82 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ module.exports = (vm) => {
const clientId = uni.getStorageSync("clientId")
config.header.Authorization = token;
config.header.ClientId = clientId;
// #ifdef APP-PLUS
// #ifdef APP-PLUS || H5
config.header.Origin = config.custom.origin;
// #endif
if(config.url.indexOf('refresh_token')==-1 ){
@@ -100,7 +100,7 @@ module.exports = (vm) => {
return data === undefined ? {} : data
}, (error) => {
console.log(error)
if( error.errMsg=="request:ok") {
if(error.errMsg=="request:ok") {
error.errMsg= "request:fail";
if(error.data!=undefined){
if(error.data.message!=undefined){