Commit 5bc787bb by wangzhihui

fixed

1 parent af07b33a
...@@ -112,20 +112,30 @@ Page({ ...@@ -112,20 +112,30 @@ Page({
} }
} = this.data; } = this.data;
wx.p.api.withdrawalApi.searchScoreSummary({ let params = {
staffPhone: phone, staffPhone: phone,
channelSource, //1.阳光激励 2.续保用户 3.管理层 channelSource, //1.阳光激励 2.续保用户 3.管理层
merchantId merchantId
}).then(res => { }
wx.p.api.withdrawalApi.searchScoreSummary(params).then(res => {
if (res.code == 0) { if (res.code == 0) {
this.setData({ this.setData({
scoreSummary: res.data, scoreSummary: res.data,
staffBankFlag: !res.data.bankCardSize staffBankFlag: !res.data.bankCardSize
}) })
} else {
wx.p.sentry.reportError(`积分中心异常:${res.message}`, {
...params,
res
});
} }
}).catch((err) => { }).catch((err) => {
wx.p.wxApi.showToast(JSON.stringify(err)) wx.p.wxApi.showToast(JSON.stringify(err))
wx.p.sentry.reportError(`积分中心异常:${err}`, {
...params,
err
});
}) })
}, },
getScoreProfitListData() { getScoreProfitListData() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!