毕设-dev-first
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user