commission--yt-commit
This commit is contained in:
@ -53,6 +53,11 @@ Page({
|
||||
return;
|
||||
}
|
||||
|
||||
wx.showLoading({
|
||||
title: '申请中',
|
||||
mask: true
|
||||
})
|
||||
|
||||
const token = wx.getStorageSync('token');
|
||||
wx.request({
|
||||
url: baseUrl + '/promoCodeApply/apply',
|
||||
@ -73,6 +78,7 @@ Page({
|
||||
icon: 'success',
|
||||
duration: 1000
|
||||
});
|
||||
wx.hideLoading()
|
||||
setTimeout(() => {
|
||||
wx.navigateBack();
|
||||
}, 1000);
|
||||
@ -81,6 +87,7 @@ Page({
|
||||
title: res.data.message || '申请失败',
|
||||
icon: 'none'
|
||||
});
|
||||
wx.hideLoading()
|
||||
}
|
||||
},
|
||||
fail: () => {
|
||||
|
Reference in New Issue
Block a user