Commit 87a622b0 authored by qinhaitao's avatar qinhaitao

update

parent e34db76c
/** @format */
const appId = '消费端ID'
export default {
VIP_CALLBACK_URL: 'testUrl'
VIP_CALLBACK_URL: `https://m.duanqu.com/?_ariver_appid=${appId}`
}
/** @format */
export default {
VIP_CALLBACK_URL: 'onlineUrl'
VIP_CALLBACK_URL: 'testUrl'
}
......@@ -48,6 +48,7 @@ class UserService extends BaseService {
if (isUseVipMock(this.context, activityUserNick)) {
return VIP_MOCK
}
const { activityId } = this.context.data
let result = {
result: {
member_info: ''
......@@ -58,6 +59,8 @@ class UserService extends BaseService {
result: ''
}
}
const cbUrl: string = `${callbackUrl}&query=activityId%3D${activityId}`
try {
result = await TBAPIS.queryVipinfo(this.context, session)
......@@ -68,7 +71,7 @@ class UserService extends BaseService {
source: 'isvapp',
entrance: 'duiba'
},
callbackUrl
cbUrl
)
} catch (e) {
console.log(e)
......
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