Commit 4321834f authored by 王能飞's avatar 王能飞

Merge branch 'c_client_taro-pack' into 'c_client_taro'

优化会员领取

See merge request !50
parents 9ae18be8 005c5202
...@@ -110,7 +110,7 @@ export const receiveMemberEname = async(api,data) => { ...@@ -110,7 +110,7 @@ export const receiveMemberEname = async(api,data) => {
return new Promise(async (resolve,reject) => { return new Promise(async (resolve,reject) => {
const result = await applyActivity(sellerId,ename) const result = await applyActivity(sellerId,ename)
if(!result) resolve(false) if(!result) resolve(false)
if(result.businessSuccess) { if(result.businessSuccess === true || result.businessSuccess === 'true') {
const { success, data, message } = await api({ ...ext }) const { success, data, message } = await api({ ...ext })
if(success) { if(success) {
showToast({ content: successMsg || '奖品发放成功,请前往我的奖品处进行使用'}) showToast({ content: successMsg || '奖品发放成功,请前往我的奖品处进行使用'})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment