瀏覽代碼

修复支付完成后无法抽奖的bug

master
sui 5 年之前
父節點
當前提交
0749bce8dc
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. +14
    -0
      496_dongfengqichen/pages/rotaryDraw/rotaryDraw.js

+ 14
- 0
496_dongfengqichen/pages/rotaryDraw/rotaryDraw.js 查看文件

} }
}, },
loadFun() { loadFun() {
this.getLuckyTokenList();
this.getRecordData(); this.getRecordData();
this.getAddress(); this.getAddress();
}, },
} }
} }
}, this) }, this)
},
getLuckyTokenList() {
this.wxRequest(app.globalData.urlRoot + "wxPay/v3/getLuckyTokenList", {}, res => {
if (res.code == 200) {
if (res.data) {
res.data.cdate = res.data.cdate ? res.data.cdate : "";
app.globalData.getBuyState = res.data;
if (res.data.luckyTokenList) {
app.globalData.luckyTokenList = res.data.luckyTokenList;
}
}
}
}, this);
} }
}) })

Loading…
取消
儲存