Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
0e911d38
Commit
0e911d38
authored
Jun 13, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
d80042b4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
center-channel/app/base/api/impl/auth/accessAuth.js
+11
-0
No files found.
center-channel/app/base/api/impl/auth/accessAuth.js
View file @
0e911d38
...
@@ -39,6 +39,17 @@ class AccessAuthAPI extends WEBBase {
...
@@ -39,6 +39,17 @@ class AccessAuthAPI extends WEBBase {
// opResult = system.getResultSuccess(null, "测试成功");
// opResult = system.getResultSuccess(null, "测试成功");
opResult
=
system
.
getResultSuccess
(
null
,
"测试成功"
);
opResult
=
system
.
getResultSuccess
(
null
,
"测试成功"
);
break
;
break
;
case
"getTokenInfo"
:
//渠道通过账户进行登录,有则返回用户信息,没有则创建用户
opResult
=
system
.
getResultSuccess
({
app_code
:
pobj
.
appInfo
.
app_code
,
app_hosts
:
pobj
.
appInfo
.
app_hosts
,
uapp_id
:
pobj
.
appInfo
.
uapp_id
,
uapp_key
:
pobj
.
appInfo
.
uapp_key
,
id
:
pobj
.
appInfo
.
id
})
break
;
case
"getNeedUserPinByChannelUserId"
:
//渠道通过账户进行登录,有则返回用户信息,没有则创建用户
case
"getNeedUserPinByChannelUserId"
:
//渠道通过账户进行登录,有则返回用户信息,没有则创建用户
var
tmpOpResult
=
await
this
.
utilsAuthSve
.
getLoginByUserName
(
pobj
,
pobj
.
actionBody
);
var
tmpOpResult
=
await
this
.
utilsAuthSve
.
getLoginByUserName
(
pobj
,
pobj
.
actionBody
);
if
(
tmpOpResult
.
status
!=
0
&&
tmpOpResult
.
status
!=
2060
)
{
if
(
tmpOpResult
.
status
!=
0
&&
tmpOpResult
.
status
!=
2060
)
{
...
...
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