Commit d5f0b844272394ba2080ba56bdec50c0ee9224e7
1 parent
35fe6246
等级卡,装入余额的bug优化
Showing
2 changed files
with
2 additions
and
4 deletions
pages/user/cardinfo/cardinfo.js
@@ -509,8 +509,6 @@ Page({ | @@ -509,8 +509,6 @@ Page({ | ||
509 | ctx.fillText("立即开通", 362 * unit, 212 * unit); | 509 | ctx.fillText("立即开通", 362 * unit, 212 * unit); |
510 | 510 | ||
511 | 511 | ||
512 | - | ||
513 | - | ||
514 | //绘制图片 | 512 | //绘制图片 |
515 | ctx.draw(false, | 513 | ctx.draw(false, |
516 | function(){ | 514 | function(){ |
@@ -663,7 +661,7 @@ Page({ | @@ -663,7 +661,7 @@ Page({ | ||
663 | content: '您确定要转入余额吗?', | 661 | content: '您确定要转入余额吗?', |
664 | success(res) { | 662 | success(res) { |
665 | if (res.confirm) { | 663 | if (res.confirm) { |
666 | - getApp().request.get("/api/weshop/plus/withdrawal/referee/money",{ | 664 | + getApp().request.post("/api/weshop/plus/withdrawal/referee/money",{ |
667 | data:{storeId:os.stoid,userId:getApp().globalData.user_id}, | 665 | data:{storeId:os.stoid,userId:getApp().globalData.user_id}, |
668 | success:function(res){ | 666 | success:function(res){ |
669 | if(res.data.code==0){ | 667 | if(res.data.code==0){ |
pages/user/cardinfo/cardinfo.wxml
@@ -41,7 +41,7 @@ | @@ -41,7 +41,7 @@ | ||
41 | 已邀请 | 41 | 已邀请 |
42 | <view class="Invitation_count">{{free==0?"0":free.RefereeNumber}}人</view> | 42 | <view class="Invitation_count">{{free==0?"0":free.RefereeNumber}}人</view> |
43 | 可提现 | 43 | 可提现 |
44 | - <view class="Invitation_my">{{free==0?"0":free.RefereeMoney}}元</view> | 44 | + <view class="Invitation_my">{{free==0?"0":free.VIPRebate}}元</view> |
45 | </view> | 45 | </view> |
46 | 46 | ||
47 | <view class="flex"> | 47 | <view class="flex"> |