毕设-dev-first

This commit is contained in:
2025-08-19 13:41:17 +08:00
parent 3dc4d64215
commit 4807d0547b
13 changed files with 322 additions and 471 deletions

View File

@ -22,7 +22,11 @@ Page({
title: '查看绩效',
id: 0,
globalImgUrl,
showNicknamePopup: false
showNicknamePopup: false,
totalIncome: 0,
withdrawaledAmount: 0,
withdrawalingBalance: 0,
currentBalance: 0
},
// 跳转课程订单页面
courseOrder() {
@ -165,11 +169,15 @@ Page({
Authorization: token
},
success: res => {
console.log('用户主要信息=====>', res.data)
if (res.data.code === 1) {
let result = res.data.data
console.log('====fdfs>', res)
this.setData({
qrcode: globalImgUrl + result.inviteQrCode
qrcode: globalImgUrl + result.inviteQrCode,
totalIncome: result.totalIncome,
withdrawaledAmount: result.withdrawaledAmount,
withdrawalingBalance: result.withdrawalingBalance,
currentBalance: result.currentBalance
})
} else {
notLogin(res.data.message)