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
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
12 deletions
+43
-12
brg-queue-center/app/base/api/impl/icAction/icQuery.js
+3
-0
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
+38
-9
No files found.
brg-queue-center/app/base/api/impl/icAction/icQuery.js
View file @
7c6241eb
...
...
@@ -24,6 +24,9 @@ class IcQueryAPI extends APIBase {
case
"getListByLikeCompanyName"
:
opResult
=
await
this
.
utilsIcSve
.
getListByLikeCompanyName
(
pobj
.
actionBody
);
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,12 +140,43 @@
"data": {
"totalCount": 3,
"pageSize": 15,
"currentPage":
null
,
"currentPage":
0
,
"list": [
{
"companyName": "上海汉玉实业有限公司"
},
{
"companyName": "广州贤玉实业有限公司"
},
{
"companyName": "上海琦玉实业有限公司"
}
]
},
"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": null
,
"creditCode": ""
,
"legalPerson": "曹雪静",
"fromTime": "2008-03-20",
"toTime": "2018-03-19",
...
...
@@ -162,10 +193,8 @@
"companyCate1": "批发和零售业",
"companyCate2": "批发业",
"companyCate3": "纺织、服装及家庭用品批发"
}
]
},
"requestId": "SCZ2020061
72233xV7el
"
"requestId": "SCZ2020061
81604MJBns
"
}
参数说明:
...
...
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