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
3550070e
Commit
3550070e
authored
Jul 09, 2021
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改AK
parent
b8bbfc9e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
29 deletions
+30
-29
center-channel/app/base/service/impl/trademark/icbcSve.js
+2
-8
center-channel/app/config/settings.js
+28
-21
No files found.
center-channel/app/base/service/impl/trademark/icbcSve.js
View file @
3550070e
...
...
@@ -81,10 +81,7 @@ class IcbcService extends AppServiceBase {
}
//获取token
let
url
=
settings
.
icNameUrl
()
+
'openPlatform/platform/getToken'
;
let
params
=
{
"accessKey"
:
"111"
,
"accessSecret"
:
"222"
}
let
params
=
settings
.
openPlatformAK
();
req
.
headers
.
token
=
'sss'
let
ret
=
await
this
.
opReqResult
(
url
,
params
,
req
);
if
(
ret
.
status
!=
1
)
{
...
...
@@ -133,10 +130,7 @@ class IcbcService extends AppServiceBase {
async
getLicenseList
(
obj
,
req
){
let
companyName
=
obj
.
companyName
;
let
url
=
settings
.
icNameUrl
()
+
'openPlatform/platform/getToken'
;
let
params
=
{
"accessKey"
:
"111"
,
"accessSecret"
:
"222"
}
let
params
=
settings
.
openPlatformAK
();
req
.
headers
.
token
=
'sss'
let
ret
=
await
this
.
opReqResult
(
url
,
params
,
req
);
if
(
ret
.
status
!=
1
)
{
...
...
center-channel/app/config/settings.js
View file @
3550070e
...
...
@@ -30,10 +30,10 @@ var settings = {
}
return
"http://43.247.184.94:7200/center_channel_req_log/_doc?pretty"
;
},
enameClientUrl
:
function
()
{
enameClientUrl
:
function
()
{
if
(
this
.
env
==
'dev'
)
{
return
"https://ote.ename.com/icp/"
;
//开发
}
else
{
}
else
{
return
"https://api.ename.com/icp/"
;
//线上
}
},
...
...
@@ -41,38 +41,38 @@ var settings = {
baiduClientParams
:
function
()
{
if
(
this
.
env
==
'dev'
)
{
return
{
domain
:
"https://gwgp-mwnn9gk4o4e.i.bdcloudapi.com"
,
//开发
accessKey
:
"ed0f5c4c7c2d4e87aa335d9b07bf9bd4"
,
secretKey
:
"f600c4e91f6d43998d637401e6e34ef9"
,
host
:
"gwgp-mwnn9gk4o4e.i.bdcloudapi.com"
domain
:
"https://gwgp-mwnn9gk4o4e.i.bdcloudapi.com"
,
//开发
accessKey
:
"ed0f5c4c7c2d4e87aa335d9b07bf9bd4"
,
secretKey
:
"f600c4e91f6d43998d637401e6e34ef9"
,
host
:
"gwgp-mwnn9gk4o4e.i.bdcloudapi.com"
};
}
return
{
domain
:
"https://gwgp-nbzljnwusrw.i.bdcloudapi.com"
,
//线上
accessKey
:
"0e5abf33ef07457f8dbd779287747c0c"
,
secretKey
:
"9d86f04a85db4cdfa95ba8ad28009188"
,
host
:
"gwgp-nbzljnwusrw.i.bdcloudapi.com"
domain
:
"https://gwgp-nbzljnwusrw.i.bdcloudapi.com"
,
//线上
accessKey
:
"0e5abf33ef07457f8dbd779287747c0c"
,
secretKey
:
"9d86f04a85db4cdfa95ba8ad28009188"
,
host
:
"gwgp-nbzljnwusrw.i.bdcloudapi.com"
};
},
//百度工商注册
baiduRegClientParams
:
function
()
{
if
(
this
.
env
==
'dev'
)
{
return
{
domain
:
"https://gwgp-fpxfeempcfz.i.bdcloudapi.com"
,
//开发
domain
:
"https://gwgp-fpxfeempcfz.i.bdcloudapi.com"
,
//开发
//2021-5-20废弃
// accessKey:"047935a96ee14ca7a79529fe0688f7dc",
// secretKey:"2290966ca6ef4b308c90d720263ec9f7",
//2021-5-20新增
accessKey
:
"aa3e1adec5644053ba29918fbbbd91c1"
,
secretKey
:
"15ce98c24b5b4c95b456530a0891e521"
,
host
:
"gwgp-fpxfeempcfz.i.bdcloudapi.com"
accessKey
:
"aa3e1adec5644053ba29918fbbbd91c1"
,
secretKey
:
"15ce98c24b5b4c95b456530a0891e521"
,
host
:
"gwgp-fpxfeempcfz.i.bdcloudapi.com"
};
}
return
{
domain
:
"https://gwgp-rqmgxmmgt8y.i.bdcloudapi.com"
,
//线上
accessKey
:
"0e5abf33ef07457f8dbd779287747c0c"
,
secretKey
:
"9d86f04a85db4cdfa95ba8ad28009188"
,
host
:
"gwgp-rqmgxmmgt8y.i.bdcloudapi.com"
domain
:
"https://gwgp-rqmgxmmgt8y.i.bdcloudapi.com"
,
//线上
accessKey
:
"0e5abf33ef07457f8dbd779287747c0c"
,
secretKey
:
"9d86f04a85db4cdfa95ba8ad28009188"
,
host
:
"gwgp-rqmgxmmgt8y.i.bdcloudapi.com"
};
},
//工商核名请求接口配置
...
...
@@ -282,7 +282,7 @@ var settings = {
return
"https://fqgirl.gongsibao.com/"
;
}
},
fqbossTmUrl
:
function
()
{
fqbossTmUrl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
return
"https://fqgirlstage.gongsibao.com/api/tmsub/channelTmNotify"
}
else
{
...
...
@@ -332,6 +332,13 @@ var settings = {
return
"https://fq.gongsibao.com/"
}
},
openPlatformAK
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
return
{
"accessKey"
:
"111"
,
"accessSecret"
:
"222"
}
}
else
{
return
{
"accessKey"
:
"202101121716"
,
"accessSecret"
:
"12bb846776874167b5c7e01cd0116c12"
}
}
},
apiconfig
:
{
opLogUrl
:
function
()
{
return
settings
.
reqEsAddr
()
+
"center_channel_log/_doc?pretty"
;
...
...
@@ -431,7 +438,7 @@ var settings = {
return
"15754717260"
;
// 7.7修改正式环境优客 辅助/担保订单推送业务员手机号 刘文悦
}
},
pannongServiceConfig
:
function
()
{
pannongServiceConfig
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
return
{
appid
:
"10015683988"
,
...
...
@@ -446,7 +453,7 @@ var settings = {
}
}
},
pannongUrl
:
function
()
{
pannongUrl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
return
"http://39.101.172.142:8980/"
}
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