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
7c6241eb
Commit
7c6241eb
authored
Jun 18, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
9f014841
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
62 additions
and
31 deletions
+62
-31
brg-queue-center/app/base/api/impl/icAction/icQuery.js
+4
-1
brg-queue-center/app/base/service/impl/utilsSve/utilsIcSve.js
+0
-0
brg-queue-center/app/base/system.js
+2
-3
brg-queue-center/readme.txt
+56
-27
No files found.
brg-queue-center/app/base/api/impl/icAction/icQuery.js
View file @
7c6241eb
...
...
@@ -23,7 +23,10 @@ class IcQueryAPI extends APIBase {
switch
(
actionType
)
{
case
"getListByLikeCompanyName"
:
opResult
=
await
this
.
utilsIcSve
.
getListByLikeCompanyName
(
pobj
.
actionBody
);
break
;
break
;
case
"getItemByCompanyName"
:
opResult
=
await
this
.
utilsIcSve
.
getItemByCompanyName
(
pobj
.
actionBody
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"actionType参数错误"
);
break
;
...
...
brg-queue-center/app/base/service/impl/utilsSve/utilsIcSve.js
View file @
7c6241eb
This diff is collapsed.
Click to expand it.
brg-queue-center/app/base/system.js
View file @
7c6241eb
...
...
@@ -135,8 +135,7 @@ class System {
return
{
status
:
!
data
?
-
1
:
1
,
message
:
opmsg
,
data
:
data
,
bizmessage
:
req
&&
req
.
session
&&
req
.
session
.
bizmsg
?
req
.
session
.
bizmsg
:
"empty"
data
:
data
};
}
/**
...
...
@@ -217,7 +216,7 @@ class System {
try
{
ClassObj
=
require
(
objabspath
);
}
catch
(
e
)
{
console
.
log
(
e
.
stack
,
"...getObject.....errror"
);
console
.
log
(
e
.
stack
,
"...getObject.....errror"
);
let
fname
=
objsettings
[
packageName
+
"base"
];
ClassObj
=
require
(
fname
);
}
...
...
brg-queue-center/readme.txt
View file @
7c6241eb
...
...
@@ -17,7 +17,7 @@
二.公共队列接口
1.生产业务数据供消费者消费
地址:http://
60.205.209.94
:4018/api/queueAction/producer/springBoard
地址:http://
192.168.1.128
:4018/api/queueAction/producer/springBoard
请求方式:post
参数:
{
...
...
@@ -76,7 +76,7 @@
}
2.生产日志数据供消费者消费
地址:http://
60.205.209.94
:4019/api/queueAction/producer/springBoard
地址:http://
192.168.1.128
:4019/api/queueAction/producer/springBoard
请求方式:post
参数:
{
...
...
@@ -101,7 +101,7 @@
三.业务查询接口
1.tx cos 信息获取
地址:http://
60.205.209.94
:4018/api/uploadAction/txCos/getCosInfo
地址:http://
192.168.1.128
:4018/api/uploadAction/txCos/getCosInfo
请求方式:get
参数:无
返回参数:
...
...
@@ -124,7 +124,7 @@
"requestId": "SCZ202006172105Wz6yF"
}
2.企业模糊查询信息
地址:http://
60.205.209.94
:4018/api/icAction/icQuery/springBoard
地址:http://
192.168.1.128
:4018/api/icAction/icQuery/springBoard
请求方式:get
参数:
{
...
...
@@ -140,32 +140,61 @@
"data": {
"totalCount": 3,
"pageSize": 15,
"currentPage":
null
,
"currentPage":
0
,
"list": [
{
"companyName": "上海汉玉实业有限公司",
"companyOrgType": "有限责任公司",
"creditCode": null,
"legalPerson": "曹雪静",
"fromTime": "2008-03-20",
"toTime": "2018-03-19",
"estiblishTime": "2008-03-20",
"regStatus": "注销",
"regNumber": "310228001075786",
"orgNumber": " ",
"regLocation": "上海市金山区卫昌路229号2幢220室",
"regCapital": "3.000",
"businessScope": "化妆品,日用百货,服装鞋帽,健身器材销售,投资咨询、商务咨询(除经纪)(涉及行政许可的凭许可证经营)。",
"regInstitute": "金山区市场监管局",
"companyProvince": "上海",
"companyCity": "金山区",
"companyCate1": "批发和零售业",
"companyCate2": "批发业",
"companyCate3": "纺织、服装及家庭用品批发"
"companyName": "上海汉玉实业有限公司"
},
{
"companyName": "广州贤玉实业有限公司"
},
{
"companyName": "上海琦玉实业有限公司"
}
]
},
"requestId": "SCZ202006172233xV7el"
"requestId": "SCZ2020061816078D804"
}
参数说明:
"companyName": "上海汉玉实业有限公司",//公司名称
3.企业精确查询信息
地址:http://192.168.1.128:4018/api/icAction/icQuery/springBoard
请求方式:get
参数:
{
"actionType":"getItemByCompanyName",
"actionBody":{
"companyName":"上海汉玉实业有限公司"
}
}
返回参数:
{
"status": 1,
"message": "success",
"data": {
"companyName": "上海汉玉实业有限公司",
"companyOrgType": "有限责任公司",
"creditCode": "",
"legalPerson": "曹雪静",
"fromTime": "2008-03-20",
"toTime": "2018-03-19",
"estiblishTime": "2008-03-20",
"regStatus": "注销",
"regNumber": "310228001075786",
"orgNumber": " ",
"regLocation": "上海市金山区卫昌路229号2幢220室",
"regCapital": "3.000",
"businessScope": "化妆品,日用百货,服装鞋帽,健身器材销售,投资咨询、商务咨询(除经纪)(涉及行政许可的凭许可证经营)。",
"regInstitute": "金山区市场监管局",
"companyProvince": "上海",
"companyCity": "金山区",
"companyCate1": "批发和零售业",
"companyCate2": "批发业",
"companyCate3": "纺织、服装及家庭用品批发"
},
"requestId": "SCZ202006181604MJBns"
}
参数说明:
...
...
@@ -188,4 +217,4 @@
"companyCity": "金山区",//公司二级市
"companyCate1": "批发和零售业",//行业分类一级分类
"companyCate2": "批发业",//行业分类二级分类
"companyCate3": "纺织、服装及家庭用品批发"//行业分类三级分类
\ No newline at end of file
"companyCate3": "纺织、服装及家庭用品批发"//行业分类三级分类
\ No newline at end of file
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