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
b2603e1e
Commit
b2603e1e
authored
Jan 08, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
ffe2e5bc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
igirl-channel/app/base/api/impl/auth/accessAuth.js
+2
-2
igirl-channel/app/base/service/impl/utilsSve/utilsAuthSve.js
+2
-2
igirl-channel/app/front/entry/public/apidoc/appDesc/newDemoDesc.md
+1
-1
No files found.
igirl-channel/app/base/api/impl/auth/accessAuth.js
View file @
b2603e1e
...
@@ -4,7 +4,7 @@ class AccessAuthAPI extends APIBase {
...
@@ -4,7 +4,7 @@ class AccessAuthAPI extends APIBase {
constructor
()
{
constructor
()
{
super
();
super
();
this
.
opPlatformUtils
=
system
.
getObject
(
"util.businessManager.opPlatformUtils"
);
this
.
opPlatformUtils
=
system
.
getObject
(
"util.businessManager.opPlatformUtils"
);
this
.
utils
userSve
=
system
.
getObject
(
"service.utilsSve.utilsuser
Sve"
);
this
.
utils
AuthSve
=
system
.
getObject
(
"service.utilsSve.utilsAuth
Sve"
);
}
}
/**
/**
* 接口跳转-POST请求
* 接口跳转-POST请求
...
@@ -45,7 +45,7 @@ class AccessAuthAPI extends APIBase {
...
@@ -45,7 +45,7 @@ class AccessAuthAPI extends APIBase {
break
;
break
;
case
"loginUserByChannelUserId"
:
case
"loginUserByChannelUserId"
:
var
userpin
=
this
.
getUUID
();
var
userpin
=
this
.
getUUID
();
opResult
=
await
this
.
utils
user
Sve
.
loginUserByChannelUserId
(
action_body
,
action_process
,
userpin
,
req
);
opResult
=
await
this
.
utils
Auth
Sve
.
loginUserByChannelUserId
(
action_body
,
action_process
,
userpin
,
req
);
if
(
opResult
.
status
==
0
)
{
if
(
opResult
.
status
==
0
)
{
return
system
.
getResultSuccess
({
userpin
:
userpin
})
return
system
.
getResultSuccess
({
userpin
:
userpin
})
}
}
...
...
igirl-channel/app/base/service/impl/utilsSve/utils
user
Sve.js
→
igirl-channel/app/base/service/impl/utilsSve/utils
Auth
Sve.js
View file @
b2603e1e
...
@@ -2,7 +2,7 @@ var system = require("../../../system");
...
@@ -2,7 +2,7 @@ var system = require("../../../system");
var
settings
=
require
(
"../../../../config/settings"
);
var
settings
=
require
(
"../../../../config/settings"
);
const
logCtl
=
system
.
getObject
(
"service.common.oplogSve"
);
const
logCtl
=
system
.
getObject
(
"service.common.oplogSve"
);
//商标查询操作
//商标查询操作
class
Utils
User
Sve
{
class
Utils
Auth
Sve
{
constructor
()
{
constructor
()
{
this
.
opPlatformUtils
=
system
.
getObject
(
"util.businessManager.opPlatformUtils"
);
this
.
opPlatformUtils
=
system
.
getObject
(
"util.businessManager.opPlatformUtils"
);
}
}
...
@@ -26,4 +26,4 @@ class UtilsUserSve {
...
@@ -26,4 +26,4 @@ class UtilsUserSve {
}
}
module
.
exports
=
Utils
User
Sve
;
module
.
exports
=
Utils
Auth
Sve
;
igirl-channel/app/front/entry/public/apidoc/appDesc/newDemoDesc.md
View file @
b2603e1e
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
## **<a name="getToken"> 获取token</a>**
## **<a name="getToken"> 获取token</a>**
[
返回到目录
](
#menu
)
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
[
返回到目录
](
#menu
)
<a
name=
"menu"
href=
"/doc"
>
返回主目录
</a>
##### URL
##### URL
[
/web/auth/accessAuth/
springBoard
]
[
/web/auth/accessAuth/
getAppTokenByHosts
]
#### 参数格式 `JSON`
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### HTTP请求方式 `POST`
...
...
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