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
325bd338
Commit
325bd338
authored
Oct 14, 2022
by
陈思聪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改icNameUrl配置
parent
75b53a9f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
center-channel/app/base/api/impl/ic/tool.js
+1
-1
center-channel/app/base/service/impl/trademark/icbcSve.js
+2
-2
center-channel/app/base/service/impl/trademark/tmquerySve.js
+1
-1
center-channel/app/base/service/impl/trademark/toolSve.js
+1
-1
center-channel/app/config/settings.js
+2
-1
No files found.
center-channel/app/base/api/impl/ic/tool.js
View file @
325bd338
...
@@ -10,7 +10,7 @@ class Tool extends APIBase {
...
@@ -10,7 +10,7 @@ class Tool extends APIBase {
}
}
async
icname
(
params
,
req
)
{
async
icname
(
params
,
req
)
{
let
url
=
settings
.
icNameUrl
()
+
'
openPlatform/
ic/match'
;
let
url
=
settings
.
icNameUrl
()
+
'ic/match'
;
if
(
!
params
.
cityName
)
{
if
(
!
params
.
cityName
)
{
return
system
.
getResult
(
-
1
,
'cityName 不能为空!'
);
return
system
.
getResult
(
-
1
,
'cityName 不能为空!'
);
}
}
...
...
center-channel/app/base/service/impl/trademark/icbcSve.js
View file @
325bd338
...
@@ -129,7 +129,7 @@ class IcbcService extends AppServiceBase {
...
@@ -129,7 +129,7 @@ class IcbcService extends AppServiceBase {
*/
*/
async
getLicenseList
(
obj
,
req
){
async
getLicenseList
(
obj
,
req
){
let
companyName
=
obj
.
companyName
;
let
companyName
=
obj
.
companyName
;
let
url
=
settings
.
icNameUrl
()
+
'
openPlatform/
platform/getToken'
;
let
url
=
settings
.
icNameUrl
()
+
'platform/getToken'
;
let
params
=
settings
.
openPlatformAK
();
let
params
=
settings
.
openPlatformAK
();
req
.
headers
.
token
=
'sss'
req
.
headers
.
token
=
'sss'
let
ret
=
await
this
.
opReqResult
(
url
,
params
,
req
);
let
ret
=
await
this
.
opReqResult
(
url
,
params
,
req
);
...
@@ -137,7 +137,7 @@ class IcbcService extends AppServiceBase {
...
@@ -137,7 +137,7 @@ class IcbcService extends AppServiceBase {
return
system
.
getResultFail
(
-
1
,
'获取开放平台token失败'
);
return
system
.
getResultFail
(
-
1
,
'获取开放平台token失败'
);
}
}
let
token
=
ret
.
data
;
let
token
=
ret
.
data
;
let
url2
=
settings
.
icNameUrl
()
+
"
/openPlatform/
busenterprise/cloudapi"
;
let
url2
=
settings
.
icNameUrl
()
+
"busenterprise/cloudapi"
;
let
params1
=
{
let
params1
=
{
"path"
:
"/apis/dst/patents/certificate"
,
"path"
:
"/apis/dst/patents/certificate"
,
"name"
:
companyName
,
"name"
:
companyName
,
...
...
center-channel/app/base/service/impl/trademark/tmquerySve.js
View file @
325bd338
...
@@ -183,7 +183,7 @@ class TmqueryService {
...
@@ -183,7 +183,7 @@ class TmqueryService {
orgname
:
queryobj
.
orgname
,
orgname
:
queryobj
.
orgname
,
appkey
:
"5b29981785bd4272966b15ad8e8b9dd3"
appkey
:
"5b29981785bd4272966b15ad8e8b9dd3"
}
}
let
url
=
settings
.
icNameUrl
()
+
'
openPlatform/
ic/match'
let
url
=
settings
.
icNameUrl
()
+
'ic/match'
let
result
=
await
this
.
opReqResult
(
url
,
data
,
req
);
let
result
=
await
this
.
opReqResult
(
url
,
data
,
req
);
if
(
result
.
code
!=
200
){
if
(
result
.
code
!=
200
){
return
system
.
getResultFail
(
-
1
,
result
.
message
);
return
system
.
getResultFail
(
-
1
,
result
.
message
);
...
...
center-channel/app/base/service/impl/trademark/toolSve.js
View file @
325bd338
...
@@ -69,7 +69,7 @@ class ToolService extends AppServiceBase {
...
@@ -69,7 +69,7 @@ class ToolService extends AppServiceBase {
}
}
//工商核名
//工商核名
async
icheming
(
queryobj
,
req
)
{
async
icheming
(
queryobj
,
req
)
{
let
url
=
settings
.
icNameUrl
()
+
'
openPlatform/
ic/match'
;
let
url
=
settings
.
icNameUrl
()
+
'ic/match'
;
let
obj
=
{
let
obj
=
{
cityname
:
queryobj
.
cityname
,
//注册城市地区
cityname
:
queryobj
.
cityname
,
//注册城市地区
keyword
:
queryobj
.
keyword
,
//公司字号
keyword
:
queryobj
.
keyword
,
//公司字号
...
...
center-channel/app/config/settings.js
View file @
325bd338
...
@@ -319,7 +319,8 @@ let settings = {
...
@@ -319,7 +319,8 @@ let settings = {
if
(
this
.
env
==
"dev"
)
{
if
(
this
.
env
==
"dev"
)
{
return
"https://fqdev.gongsibao.com/"
return
"https://fqdev.gongsibao.com/"
}
else
{
}
else
{
return
"https://fq.gongsibao.com/"
// return "https://fq.gongsibao.com/"
return
"http://open-platform.tm-prod.svc.cluster.local/"
}
}
},
},
openPlatformAK
:
function
()
{
openPlatformAK
:
function
()
{
...
...
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