Commit 29267361 by 李伟康

修改 getInviteRecordCount 方法的 API

1 parent 1c20082e
...@@ -89,9 +89,12 @@ module.exports = { ...@@ -89,9 +89,12 @@ module.exports = {
}) })
}, },
/**
* 客户邀约记录-邀约类型数目统计
*/
getInviteRecordCount(data) { getInviteRecordCount(data) {
return http.post({ return http.post({
method: "dj.api.smartcarlife.inviteRecord.count.new", method: "dj.api.smartcarlife.customerInviteRecord.inviteStatus.count",
projectName: "boutique", projectName: "boutique",
...data ...data
}) })
......

2.34 MB | W: | H:

2.34 MB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -467,8 +467,8 @@ export default { ...@@ -467,8 +467,8 @@ export default {
const { moduleList } = this, const { moduleList } = this,
userInfo = uni.$storage.get("userInfo"), userInfo = uni.$storage.get("userInfo"),
{ shopMerchantId: merchantId } = userInfo, { shopMerchantId: merchantId } = userInfo,
{ notInvitedCount } = await uni.$api.boutiqueApi.getInviteRecordCount({ {notInvitedCount} = await uni.$api.boutiqueApi.getInviteRecordCount({
merchantId merchantIds: [merchantId]
}) })
moduleList.map(e => { moduleList.map(e => {
if (e.id == 3) e.count = notInvitedCount ? notInvitedCount > 99 ? 99 : notInvitedCount : 0 if (e.id == 3) e.count = notInvitedCount ? notInvitedCount > 99 ? 99 : notInvitedCount : 0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!