commission--yt-commit

This commit is contained in:
2025-06-06 13:16:14 +08:00
parent b00256ba06
commit 017cb7b0e9
13 changed files with 104 additions and 22 deletions

View File

@ -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: () => {