diff --git a/package2/myCenter/wallet.vue b/package2/myCenter/wallet.vue index f80d8e8..6a3dc31 100644 --- a/package2/myCenter/wallet.vue +++ b/package2/myCenter/wallet.vue @@ -106,6 +106,8 @@ aliAccount:'', commionType:'', shopId:'', + workerId:'', + userId:'', searchForm:{ pageNum:1, pageSize:10 @@ -190,7 +192,7 @@ if(this.commionType == 'user'){ data.userId = this.balanceUser.id }else if(this.commionType == 'worker'){ - data.workerId = this.balanceWorker.id + data.workerId = this.balanceWorker.workerId }else{ data.shopId = this.shopId } @@ -204,7 +206,9 @@ return } uni.hideLoading() - }).catch((res) => {}) + }).catch((res) => { + that.tui.toast(res.message) + }) }, chooseLinkId(type,item){ if(type == 'user'){