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
f92d309c
Commit
f92d309c
authored
May 24, 2021
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
8618b78f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
26 deletions
+26
-26
embed_applications/app/base/db/impl/tmquery/mgconnection.js
+1
-1
embed_applications/app/base/service/impl/tmquery/utilstmSve.js
+2
-2
embed_applications/app/config/settings.js
+13
-13
embed_applications/app/front/vues/pages/policylist/policylist.js
+5
-5
embed_applications/app/front/vues/pages/policyquery/policyquery.js
+5
-5
No files found.
embed_applications/app/base/db/impl/tmquery/mgconnection.js
View file @
f92d309c
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
});
}
...
...
embed_applications/app/base/service/impl/tmquery/utilstmSve.js
View file @
f92d309c
...
...
@@ -99,7 +99,7 @@ class UtilsTmService{
"ncl_one_codes": "43",
"regist_notice_day": 1425013200,
"tm_regist_num": "13739653",
"pic_url": "http://
43.247.184.94
:7170/Img/000/137/396/53A/068d5558-be1d-4f2c-94db-61808c8316ad.jpg",
"pic_url": "http://
er.es.gongsibao.com
:7170/Img/000/137/396/53A/068d5558-be1d-4f2c-94db-61808c8316ad.jpg",
"status": 3
}
],
...
...
@@ -176,7 +176,7 @@ class UtilsTmService{
"apply_day": 1504843200,
"original_applicant_cn": null,
"applicant_en": null,
"pic_url": "http://
43.247.184.94
:7170/Img/000/143/154/66A/original.jpg"
"pic_url": "http://
er.es.gongsibao.com
:7170/Img/000/143/154/66A/original.jpg"
}
],
...
...
embed_applications/app/config/settings.js
View file @
f92d309c
...
...
@@ -36,17 +36,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
:{
...
...
@@ -165,9 +165,9 @@ var settings = {
onLineMakeTMUrl
:
"http://bigdata.gongsibao.com/api/imghandle/onLineMakeTM"
,
toblackUrl
:
"https://bigdata.gongsibao.com/api/imghandle/toblack"
,
makeDeleForTMUrl
:
"http://boss.gongsibao.com/api/imghandle/makeDeleForTM"
,
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"
;
...
...
@@ -177,30 +177,30 @@ 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"
;
}
},
tmZntjQueryUrl
:
function
(){
//商标智能推荐
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}"
;
}
},
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}"
;
}
},
yunzhanghuApiUrl
:
function
(){
//云帐户提现接口url
...
...
@@ -265,7 +265,7 @@ var settings = {
var
localsettings
=
require
(
"./localsettings"
);
return
localsettings
.
reqMgDevUrl
;
}
else
{
return
"mongodb://wdy1:123456@
43.247.184.94
:27017/"
;
return
"mongodb://wdy1:123456@
er.es.gongsibao.com
:27017/"
;
}
},
redis
:
function
(){
...
...
embed_applications/app/front/vues/pages/policylist/policylist.js
View file @
f92d309c
...
...
@@ -1456,7 +1456,7 @@
this
.
recommendationsObj
=
obj
;
this
.
zccompanyPost
();
this
.
loading
=
true
;
axios
.
post
(
'http://
43.247.184.92
:8018/gsb/api/zcdetailcount'
,{
axios
.
post
(
'http://
idc92.gongsibao.com
:8018/gsb/api/zcdetailcount'
,{
"ID"
:
obj
.
ID
,
"count"
:
0
}).
then
(
d
=>
{
...
...
@@ -1525,7 +1525,7 @@
},
zccompanyNamePost
()
{
this
.
loading
=
true
;
axios
.
post
(
'http://
43.247.184.92
:8018/gsb/api/zccompany_name'
,{
axios
.
post
(
'http://
idc92.gongsibao.com
:8018/gsb/api/zccompany_name'
,{
"company_name"
:
this
.
zcoName
}).
then
(
d
=>
{
console
.
log
(
d
,
'================================='
);
...
...
@@ -1538,9 +1538,9 @@
},
zcPost
(
size
)
{
console
.
log
(
123
);
/*http://
43.247.184.92
:8018/gsb/api/zc*/
/*http://
idc92.gongsibao.com
:8018/gsb/api/zc*/
this
.
loading
=
true
;
axios
.
post
(
'http://
43.247.184.92
:8018/gsb/api/zc'
,{
axios
.
post
(
'http://
idc92.gongsibao.com
:8018/gsb/api/zc'
,{
"zctext"
:
this
.
zctext
,
"currentpage"
:
size
||
1
,
"pagesize"
:
10
...
...
@@ -1556,7 +1556,7 @@
},
zccompanyPost
()
{
this
.
loading
=
true
;
axios
.
post
(
'http://
43.247.184.92
:8018/gsb/api/zccompany'
,{}).
then
(
d
=>
{
axios
.
post
(
'http://
idc92.gongsibao.com
:8018/gsb/api/zccompany'
,{}).
then
(
d
=>
{
console
.
log
(
d
,
'123452345678'
);
var
data
=
d
.
data
.
data
;
this
.
portrayalArr
=
data
;
...
...
embed_applications/app/front/vues/pages/policyquery/policyquery.js
View file @
f92d309c
...
...
@@ -321,7 +321,7 @@
this
.
recommendationsObj
=
obj
;
this
.
portrayalArr
=
obj
.
hx_list
;
console
.
log
(
this
.
portrayalArr
,
'11111111111111'
);
axios
.
post
(
'http://
43.247.184.92
:8018/gsb/api/zcdetailcount'
,{
axios
.
post
(
'http://
idc92.gongsibao.com
:8018/gsb/api/zcdetailcount'
,{
"ID"
:
obj
.
ID
,
"count"
:
0
}).
then
(
d
=>
{
...
...
@@ -380,7 +380,7 @@
}
},
zccompanyNamePost
()
{
axios
.
post
(
'http://
43.247.184.92
:8018/gsb/api/zccompany_name'
,{
axios
.
post
(
'http://
idc92.gongsibao.com
:8018/gsb/api/zccompany_name'
,{
"company_name"
:
this
.
zcoName
}).
then
(
d
=>
{
console
.
log
(
d
,
'================================='
);
...
...
@@ -390,8 +390,8 @@
})
},
zcPost
(
size
)
{
/*http://
43.247.184.92
:8018/gsb/api/zc*/
axios
.
post
(
'http://
43.247.184.92
:8019/gsb/api/zc'
,{
/*http://
idc92.gongsibao.com
:8018/gsb/api/zc*/
axios
.
post
(
'http://
idc92.gongsibao.com
:8019/gsb/api/zc'
,{
"zctext"
:
this
.
zctext
,
"currentpage"
:
size
||
1
,
"pagesize"
:
10
,
...
...
@@ -413,7 +413,7 @@
})
},
zccompanyPost
()
{
axios
.
post
(
'http://
43.247.184.92
:8018/gsb/api/zccompany'
,{}).
then
(
d
=>
{
axios
.
post
(
'http://
idc92.gongsibao.com
:8018/gsb/api/zccompany'
,{}).
then
(
d
=>
{
console
.
log
(
d
);
var
data
=
d
.
data
.
data
;
this
.
portrayalArr
=
data
...
...
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