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 | 509 | ctx.fillText("立即开通", 362 * unit, 212 * unit); |
510 | 510 | |
511 | 511 | |
512 | - | |
513 | - | |
514 | 512 | //绘制图片 |
515 | 513 | ctx.draw(false, |
516 | 514 | function(){ |
... | ... | @@ -663,7 +661,7 @@ Page({ |
663 | 661 | content: '您确定要转入余额吗?', |
664 | 662 | success(res) { |
665 | 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 | 665 | data:{storeId:os.stoid,userId:getApp().globalData.user_id}, |
668 | 666 | success:function(res){ |
669 | 667 | if(res.data.code==0){ | ... | ... |
pages/user/cardinfo/cardinfo.wxml
... | ... | @@ -41,7 +41,7 @@ |
41 | 41 | 已邀请 |
42 | 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 | 45 | </view> |
46 | 46 | |
47 | 47 | <view class="flex"> | ... | ... |