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
acb44dbe
Commit
acb44dbe
authored
May 24, 2021
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ip
parent
2ce85313
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
18 deletions
+19
-18
igirl-zcapi/app/base/api/impl/tool/toolApi.js
+2
-1
igirl-zcapi/app/base/db/impl/common/mgconnection.js
+1
-1
igirl-zcapi/app/base/service/impl/licenses/licenseSve.js
+1
-1
igirl-zcapi/app/config/settings.js
+15
-15
No files found.
igirl-zcapi/app/base/api/impl/tool/toolApi.js
View file @
acb44dbe
...
...
@@ -512,7 +512,8 @@ class ToolApi extends ApiBase {
if
(
!
email
)
{
return
{
code
:
-
2
,
msg
:
"邮箱参数错误"
};
}
var
url
=
"http://43.247.184.92:8015/tmdoc/api/createdoc?mycompanyname="
+
encodeURIComponent
(
mycompanyname
);
//idc92.gongsibao.com (43.247.184.92)
var
url
=
"http://idc92.gongsibao.com:8015/tmdoc/api/createdoc?mycompanyname="
+
encodeURIComponent
(
mycompanyname
);
var
rc
=
System
.
getObject
(
"util.execClient"
);
var
rtn
=
null
;
try
{
...
...
igirl-zcapi/app/base/db/impl/common/mgconnection.js
View file @
acb44dbe
const
mongoose
=
require
(
'mongoose'
)
class
MgDbFactory
{
constructor
()
{
const
reqUrl
=
"mongodb://wdy1:123456@
43.247.184.94
:27017/phones"
;
const
reqUrl
=
"mongodb://wdy1:123456@
er.es.gongsibao.com
:27017/phones"
;
this
.
mgdb
=
mongoose
.
connect
(
reqUrl
,
{
useNewUrlParser
:
true
});
}
...
...
igirl-zcapi/app/base/service/impl/licenses/licenseSve.js
View file @
acb44dbe
...
...
@@ -3,7 +3,7 @@ const System = require("../../../system");
const
querystring
=
require
(
'querystring'
);
class
LicenseService
{
constructor
()
{
this
.
licenseUrl
=
"http://
43.247.184.92
:8111/gsb/api/Licenses"
;
this
.
licenseUrl
=
"http://
idc92.gongsibao.com
:8111/gsb/api/Licenses"
;
};
async
getLicenses
(
obj
)
{
//根据公司得到推荐要办的证书
...
...
igirl-zcapi/app/config/settings.js
View file @
acb44dbe
...
...
@@ -33,17 +33,17 @@ var settings = {
reqEsAddr
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
var
localsettings
=
require
(
"./localsettings"
);
return
"http://
43.247.184.94
:7200/"
;
//localsettings.reqEsDevUrl;
return
"http://
er.es.gongsibao.com
:7200/"
;
//localsettings.reqEsDevUrl;
}
else
{
return
"http://
43.247.184.94
:7200/"
;
return
"http://
er.es.gongsibao.com
:7200/"
;
}
},
reqEsAddrIc
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
var
localsettings
=
require
(
"./localsettings"
);
return
"http://
43.247.184.94
:9200/"
;
//localsettings.reqEsDevUrl;
return
"http://
er.es.gongsibao.com
:9200/"
;
//localsettings.reqEsDevUrl;
}
else
{
return
"http://
43.247.184.94
:9200/"
;
return
"http://
er.es.gongsibao.com
:9200/"
;
}
},
apiconfig
:
{
...
...
@@ -54,7 +54,7 @@ var settings = {
return
1
;
},
tmTrustUrl
:
function
()
{
//商标委托书
return
"http://
43.247.184.92
:15503/gsb/tmtrust"
;
return
"http://
idc92.gongsibao.com
:15503/gsb/tmtrust"
;
},
imageQueryKey
:
"4S3ypgaRq19bhKwB"
,
byslTmUrl
:
function
()
{
...
...
@@ -95,25 +95,25 @@ var settings = {
},
imageQueryUrl
:
function
()
{
//商标图像检索
if
(
settings
.
env
==
"dev"
)
{
return
"http://
43.247.184.92
:8004/gsb/api/v1"
;
return
"http://
idc92.gongsibao.com
:8004/gsb/api/v1"
;
}
else
{
return
"http://
43.247.184.92
:8004/gsb/api/v1"
;
return
"http://
idc92.gongsibao.com
:8004/gsb/api/v1"
;
}
},
tmncloneQueryUrl
:
function
()
{
//计算通过率
if
(
settings
.
env
==
"dev"
)
{
return
"http://192.168.18.44:7000/tmnclone?appKey=343aff200d18be6637d&nclonecode={nclonecode}&tmName={tmName}"
;
}
else
{
return
"http://
43.247.184.92
:8007/tmnclone?appKey=343aff200d18be6637d&nclonecode={nclonecode}&tmName={tmName}"
;
return
"http://
idc92.gongsibao.com
:8007/tmnclone?appKey=343aff200d18be6637d&nclonecode={nclonecode}&tmName={tmName}"
;
}
},
ichemingUrl
:
function
()
{
//工商核名接口
if
(
settings
.
env
==
"dev"
)
{
return
"http://
43.247.184.92
:8100/heming/"
;
return
"http://
idc92.gongsibao.com
:8100/heming/"
;
}
else
{
return
"http://
43.247.184.92
:8100/heming/"
;
return
"http://
idc92.gongsibao.com
:8100/heming/"
;
}
},
...
...
@@ -181,9 +181,9 @@ var settings = {
uploadStandardTmUrl
:
"https://bigdata.gongsibao.com/api/imghandle/uploadStandardTm"
,
// makeDeleForTMUrl: "http://boss.gongsibao.com/api/imghandle/makeDeleForTM",
makeDeleForTMUrl
:
"http://boss.gongsibao.com/api/imghandle/deleForTmByUrl"
,
LbsAddressUrl
:
"http://
43.247.184.92
:8880/lbs/api/addresssearch"
,
//地址查询
LbsLalUrl
:
"http://
43.247.184.92
:8889/lbs/api/lalsearch"
,
//坐标查询
LbsCityUrl
:
"http://
43.247.184.92
:8886/lbs/api/cityseicsoftwareCopyrightSearchUrlarch"
,
//城市查询
LbsAddressUrl
:
"http://
idc92.gongsibao.com
:8880/lbs/api/addresssearch"
,
//地址查询
LbsLalUrl
:
"http://
idc92.gongsibao.com
:8889/lbs/api/lalsearch"
,
//坐标查询
LbsCityUrl
:
"http://
idc92.gongsibao.com
:8886/lbs/api/cityseicsoftwareCopyrightSearchUrlarch"
,
//城市查询
pdf2wordUrl
:
function
()
{
if
(
settings
.
env
==
"dev"
)
{
return
"http://59.110.125.77:3000/api/pdf2word/pdf2word"
;
...
...
@@ -196,14 +196,14 @@ var settings = {
if
(
settings
.
env
==
"dev"
)
{
return
"http://192.168.18.123:8005/companybusiness?appKey=343aff200d18be6637d&name={companyName}"
;
}
else
{
return
"http://
43.247.184.92
:8005/companybusiness?appKey=343aff200d18be6637d&name={companyName}"
;
return
"http://
idc92.gongsibao.com
:8005/companybusiness?appKey=343aff200d18be6637d&name={companyName}"
;
}
},
tmtjdlQueryUrl
:
function
()
{
//根据经营范围推荐
if
(
settings
.
env
==
"dev"
)
{
return
"http://192.168.18.181:7000/companynclone?appKey=343aff200d18be6637d&name={companyName}&tmName={tmName}"
;
}
else
{
return
"http://
43.247.184.92
:8006/companynclone?appKey=343aff200d18be6637d&name={companyName}&tmName={tmName}"
;
return
"http://
idc92.gongsibao.com
:8006/companynclone?appKey=343aff200d18be6637d&name={companyName}&tmName={tmName}"
;
}
},
},
...
...
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