Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobao-mini-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinhaitao
taobao-mini-template
Commits
87a622b0
Commit
87a622b0
authored
Aug 21, 2020
by
qinhaitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
e34db76c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
online.ts
v2.0/src/config/online.ts
+3
-1
test.ts
v2.0/src/config/test.ts
+1
-1
user.service.ts
v2.0/src/service/user.service.ts
+4
-1
No files found.
v2.0/src/config/online.ts
View file @
87a622b0
/** @format */
const
appId
=
'消费端ID'
export
default
{
VIP_CALLBACK_URL
:
'testUrl'
VIP_CALLBACK_URL
:
`https://m.duanqu.com/?_ariver_appid=
${
appId
}
`
}
v2.0/src/config/test.ts
View file @
87a622b0
/** @format */
export
default
{
VIP_CALLBACK_URL
:
'
online
Url'
VIP_CALLBACK_URL
:
'
test
Url'
}
v2.0/src/service/user.service.ts
View file @
87a622b0
...
...
@@ -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'
},
c
allback
Url
c
b
Url
)
}
catch
(
e
)
{
console
.
log
(
e
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment