Commit 005c5202 authored by mqf_0707's avatar mqf_0707

优化会员领取

parent 207ab5ff
...@@ -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