调整支付功能
This commit is contained in:
@@ -34,7 +34,7 @@ const request = (parameter, hideLoding) => {
|
||||
|
||||
// 加载提示
|
||||
if(!hideLoding) uni.showLoading({
|
||||
title: '加载中',
|
||||
title: '加载中...',
|
||||
mask : true
|
||||
});
|
||||
|
||||
@@ -47,11 +47,11 @@ const request = (parameter, hideLoding) => {
|
||||
data : parameter.data || {},
|
||||
method : parameter.method || 'GET',
|
||||
success : res => {
|
||||
uni.hideLoading()
|
||||
if (res.header.Authorization){
|
||||
updateToken('token', res.header.Authorization)
|
||||
}
|
||||
if(res.statusCode === 200){
|
||||
uni.hideLoading()
|
||||
const resolveData = res.data
|
||||
if(resolveData.status_code === 200) {
|
||||
resolve(resolveData.data)
|
||||
|
||||
Reference in New Issue
Block a user