Commit afb844db by chenwq

正式会员判断

1 parent eeb455d7
...@@ -132,8 +132,12 @@ Page({ ...@@ -132,8 +132,12 @@ Page({
// 获取会员卡信息 // 获取会员卡信息
wx.p.api.equityApi.checkOpenMember({ isTrialCardFlag: 1 }).then(res => { wx.p.api.equityApi.checkOpenMember({ isTrialCardFlag: 1 }).then(res => {
if (res.code == 0 && res.data) { if (res.code == 0 && res.data) {
if (!res.data.equityFreeCardId) {
this.jumpMine()
} else {
this.receiveRed(res.data.equityFreeCardId) this.receiveRed(res.data.equityFreeCardId)
} }
}
}) })
} }
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!