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
e6a595af
Commit
e6a595af
authored
Mar 19, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
79247f95
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
igirl-channel-gateway/app/base/service/impl/utilsSve/utilsNeedSve.js
+2
-2
igirl-channel-gateway/app/config/settings.js
+2
-2
No files found.
igirl-channel-gateway/app/base/service/impl/utilsSve/utilsNeedSve.js
View file @
e6a595af
...
...
@@ -18,7 +18,7 @@ class UtilsNeedSve extends AppServiceBase {
async
getCenterToken
()
{
var
self
=
this
;
var
reqTokenUrl
=
this
.
centerChannelUrl
+
"/api/
auth
/accessAuth/getAppTokenByAppKey"
;
var
reqTokenUrl
=
this
.
centerChannelUrl
+
"/api/
opreceive
/accessAuth/getAppTokenByAppKey"
;
var
reqParam
=
self
.
appInfo
[
"aliyuntmtransfer"
];
if
(
!
reqParam
.
appkey
||
!
reqParam
.
secret
)
{
return
system
.
getResult
(
null
,
"reqType类型有误,请求失败"
);
...
...
@@ -72,7 +72,7 @@ class UtilsNeedSve extends AppServiceBase {
};
// pobj.actionBody.channelUserId = pobj.mobile;//渠道用户id,没有则用手机号
// pobj.actionBody.mobile = pobj.mobile;//用户手机号
var
url
=
settings
.
centerChannelUrl
()
+
"/
web/auth
/accessAuth/springBoard"
;
var
url
=
settings
.
centerChannelUrl
()
+
"/
api/opreceive
/accessAuth/springBoard"
;
var
userpinResultTmp
=
await
this
.
execlient
.
execPostTK
(
userparam
,
url
,
tokenInfo
.
data
.
token
);
if
(
userpinResultTmp
.
status
!=
0
&&
userpinResultTmp
.
status
!=
2060
)
{
return
system
.
getResultFail
(
-
99
,
"获取userpin失败"
);
...
...
igirl-channel-gateway/app/config/settings.js
View file @
e6a595af
...
...
@@ -31,14 +31,14 @@ var settings = {
return
"http://43.247.184.94:7200/"
;
}
},
channelApiUrl
:
function
()
{
channelApiUrl
:
function
()
{
//----igirl-channel
if
(
this
.
env
==
"dev"
)
{
return
"http://gsb.qifu.gongsibao.com:4003"
;
}
else
{
return
"http://zc-channel-service"
;
}
},
centerChannelUrl
:
function
()
{
centerChannelUrl
:
function
()
{
//---------center-channel
if
(
this
.
env
==
"dev"
)
{
return
"http://gsb.qifu.gongsibao.com:4012"
;
//localsettings.reqEsDevUrl;
}
else
{
...
...
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