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
9fb59832
Commit
9fb59832
authored
Aug 24, 2020
by
张云飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zyf
parent
cf01e8f5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
75 additions
and
1 deletions
+75
-1
igirl-zcapi/app/base/api/impl/tool/toolApi.js
+71
-0
igirl-zcapi/app/base/api/impl/trademark/gsbicsearch.js
+0
-0
igirl-zcapi/app/config/settings.js
+4
-1
No files found.
igirl-zcapi/app/base/api/impl/tool/toolApi.js
View file @
9fb59832
...
...
@@ -349,6 +349,77 @@ class ToolApi extends ApiBase {
}
}
//数据中心工商模糊查询接口
async
getCompanyListByVague
(
pobj
,
o
,
req
)
{
var
appkey
=
this
.
appKeyStr
;
var
pageSize
=
o
.
pageSize
?
o
.
pageSize
:
20
;
var
currentPage
=
o
.
currentPage
?
o
.
currentPage
:
1
;
var
data
=
{
appKey
:
appkey
,
pageSize
:
pageSize
,
currentPage
:
currentPage
,
companyName
:
o
.
companyName
,
};
var
company
=
await
this
.
gsbIcSearchApi
.
companyvaguesearch
(
data
);
if
(
company
.
status
==
0
&&
company
.
data
.
totalSize
>
0
)
{
return
company
;
}
else
{
return
{};
}
}
//公司详情信息
async
getDetailByCompanyName
(
pobj
,
o
,
req
)
{
var
appkey
=
this
.
appKeyStr
;
var
data
=
{
appKey
:
appkey
,
companyName
:
o
.
companyName
,
};
var
company
=
await
this
.
gsbIcSearchApi
.
companydetailsearch
(
data
);
if
(
company
.
status
==
0
&&
company
.
data
.
totalSize
>
0
)
{
return
company
.
data
.
list
[
0
];
}
else
{
return
{};
}
}
//企业变更记录查询
async
getCompanyChangeByName
(
pobj
,
o
,
req
)
{
var
appkey
=
this
.
appKeyStr
;
var
pageSize
=
o
.
pageSize
?
o
.
pageSize
:
20
;
var
currentPage
=
o
.
currentPage
?
o
.
currentPage
:
1
;
var
data
=
{
appKey
:
appkey
,
pageSize
:
pageSize
,
currentPage
:
currentPage
,
companyName
:
o
.
companyName
,
};
var
company
=
await
this
.
gsbIcSearchApi
.
companychangesearch
(
data
);
if
(
company
.
status
==
0
&&
company
.
data
.
totalSize
>
0
)
{
return
company
;
}
else
{
return
{};
}
}
//企业ICP证照数据
async
getCompanyIcpByName
(
pobj
,
o
,
req
)
{
var
appkey
=
this
.
appKeyStr
;
var
pageSize
=
o
.
pageSize
?
o
.
pageSize
:
20
;
var
currentPage
=
o
.
currentPage
?
o
.
currentPage
:
1
;
var
data
=
{
appKey
:
appkey
,
pageSize
:
pageSize
,
currentPage
:
currentPage
,
companyName
:
o
.
companyName
,
};
var
company
=
await
this
.
gsbIcSearchApi
.
companyicpsearch
(
data
);
if
(
company
.
status
==
0
&&
company
.
data
.
totalSize
>
0
)
{
return
company
;
}
else
{
return
{};
}
}
async
getCropperPic
(
qobj
,
obj
,
req
)
{
var
that
=
this
;
var
base64
=
obj
.
base64
;
...
...
igirl-zcapi/app/base/api/impl/trademark/gsbicsearch.js
View file @
9fb59832
This diff is collapsed.
Click to expand it.
igirl-zcapi/app/config/settings.js
View file @
9fb59832
...
...
@@ -167,8 +167,11 @@ var settings = {
icinvestSearchUrl
:
function
()
{
return
settings
.
reqEsAddrIc
()
+
"bigdata_ic_gsb_invest_op/_search"
;
},
iccompanyicpSearchUrl
:
function
()
{
return
settings
.
reqEsAddrIc
()
+
"bigdata_company_icp_record_all_final/_search"
;
},
icchangeSearchUrl
:
function
()
{
return
settings
.
reqEsAddrIc
()
+
"bigdata_ic_gsb_change_
op
/_search"
;
return
settings
.
reqEsAddrIc
()
+
"bigdata_ic_gsb_change_
1
/_search"
;
},
iccompanynameSearchUrl
:
function
()
{
return
settings
.
reqEsAddrIc
()
+
"bigdata_ic_gsb_company_op/_search"
;
...
...
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