Commit b2603e1e by 宋毅

tj

parent ffe2e5bc
...@@ -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.utilsuserSve = system.getObject("service.utilsSve.utilsuserSve"); this.utilsAuthSve = system.getObject("service.utilsSve.utilsAuthSve");
} }
/** /**
* 接口跳转-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.utilsuserSve.loginUserByChannelUserId(action_body, action_process, userpin, req); opResult = await this.utilsAuthSve.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 })
} }
......
...@@ -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 UtilsUserSve { class UtilsAuthSve {
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 = UtilsUserSve; module.exports = UtilsAuthSve;
...@@ -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`
......
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