commission--yt-commit

This commit is contained in:
2025-06-03 21:29:15 +08:00
parent eaf4b6c5e5
commit 361f6a89d3
16 changed files with 538 additions and 104 deletions

View File

@ -1,3 +1,5 @@
import { baseUrl } from "../../../request"
// pages/personCenter/billingDetails/billingDetails.js
Page({
@ -5,14 +7,33 @@ Page({
* 页面的初始数据
*/
data: {
items: [null, null, null, null]
withdrawalList: [],
withdrawalStatus: ['审核中', '提现成功', '提现失败']
},
getWithdrawalList() {
wx.request({
url: baseUrl + '/withdrawalApply/query',
method: 'POST',
header: {
Authorization: wx.getStorageSync('token')
},
success: res => {
console.log('账单明细---->',res.data);
console.log('登录token---->',wx.getStorageSync('token'));
if (res.data.code === 1) {
this.setData({
withdrawalList: res.data.data
})
}
}
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
this.getWithdrawalList()
},
/**