增加订单列表详情的客座费打包费
This commit is contained in:
@@ -15,6 +15,7 @@ import {
|
||||
} from '@/commons/utils/encryptUtil.js'
|
||||
import infoBox from "@/commons/utils/infoBox.js"
|
||||
import go from '@/commons/utils/go.js';
|
||||
import { reject } from 'lodash';
|
||||
// 测试服
|
||||
// let baseUrl = 'https://admintestpapi.sxczgkj.cn'
|
||||
|
||||
@@ -125,9 +126,11 @@ function commonsProcess(showLoading, httpReqCallback) {
|
||||
return Promise.resolve(bodyData)
|
||||
|
||||
}).catch(res => {
|
||||
if(res.status==401||res.status==400){
|
||||
// storageManage.token(null, true)
|
||||
infoBox.showErrorToast(res.message||'状态码400').then(() => {
|
||||
if(res.status==401){
|
||||
storageManage.token(null, true)
|
||||
infoBox.showErrorToast(res.message||'请登录').then(() => {
|
||||
uni.redirectTo({url: '/pages/login/index'})
|
||||
reject()
|
||||
})
|
||||
}
|
||||
if(res.status==500){
|
||||
|
||||
Reference in New Issue
Block a user