Commit 7c6241eb by 宋毅

tj

parent 9f014841
...@@ -23,7 +23,10 @@ class IcQueryAPI extends APIBase { ...@@ -23,7 +23,10 @@ class IcQueryAPI extends APIBase {
switch (actionType) { switch (actionType) {
case "getListByLikeCompanyName": case "getListByLikeCompanyName":
opResult = await this.utilsIcSve.getListByLikeCompanyName(pobj.actionBody); opResult = await this.utilsIcSve.getListByLikeCompanyName(pobj.actionBody);
break; break;
case "getItemByCompanyName":
opResult = await this.utilsIcSve.getItemByCompanyName(pobj.actionBody);
break;
default: default:
opResult = system.getResult(null, "actionType参数错误"); opResult = system.getResult(null, "actionType参数错误");
break; break;
......
...@@ -135,8 +135,7 @@ class System { ...@@ -135,8 +135,7 @@ class System {
return { return {
status: !data ? -1 : 1, status: !data ? -1 : 1,
message: opmsg, message: opmsg,
data: data, data: data
bizmessage: req && req.session && req.session.bizmsg ? req.session.bizmsg : "empty"
}; };
} }
/** /**
...@@ -217,7 +216,7 @@ class System { ...@@ -217,7 +216,7 @@ class System {
try { try {
ClassObj = require(objabspath); ClassObj = require(objabspath);
} catch (e) { } catch (e) {
console.log(e.stack,"...getObject.....errror"); console.log(e.stack, "...getObject.....errror");
let fname = objsettings[packageName + "base"]; let fname = objsettings[packageName + "base"];
ClassObj = require(fname); ClassObj = require(fname);
} }
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
二.公共队列接口 二.公共队列接口
1.生产业务数据供消费者消费 1.生产业务数据供消费者消费
地址:http://60.205.209.94:4018/api/queueAction/producer/springBoard 地址:http://192.168.1.128:4018/api/queueAction/producer/springBoard
请求方式:post 请求方式:post
参数: 参数:
{ {
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
} }
2.生产日志数据供消费者消费 2.生产日志数据供消费者消费
地址:http://60.205.209.94:4019/api/queueAction/producer/springBoard 地址:http://192.168.1.128:4019/api/queueAction/producer/springBoard
请求方式:post 请求方式:post
参数: 参数:
{ {
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
三.业务查询接口 三.业务查询接口
1.tx cos 信息获取 1.tx cos 信息获取
地址:http://60.205.209.94:4018/api/uploadAction/txCos/getCosInfo 地址:http://192.168.1.128:4018/api/uploadAction/txCos/getCosInfo
请求方式:get 请求方式:get
参数:无 参数:无
返回参数: 返回参数:
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
"requestId": "SCZ202006172105Wz6yF" "requestId": "SCZ202006172105Wz6yF"
} }
2.企业模糊查询信息 2.企业模糊查询信息
地址:http://60.205.209.94:4018/api/icAction/icQuery/springBoard 地址:http://192.168.1.128:4018/api/icAction/icQuery/springBoard
请求方式:get 请求方式:get
参数: 参数:
{ {
...@@ -140,32 +140,61 @@ ...@@ -140,32 +140,61 @@
"data": { "data": {
"totalCount": 3, "totalCount": 3,
"pageSize": 15, "pageSize": 15,
"currentPage": null, "currentPage": 0,
"list": [ "list": [
{ {
"companyName": "上海汉玉实业有限公司", "companyName": "上海汉玉实业有限公司"
"companyOrgType": "有限责任公司", },
"creditCode": null, {
"legalPerson": "曹雪静", "companyName": "广州贤玉实业有限公司"
"fromTime": "2008-03-20", },
"toTime": "2018-03-19", {
"estiblishTime": "2008-03-20", "companyName": "上海琦玉实业有限公司"
"regStatus": "注销",
"regNumber": "310228001075786",
"orgNumber": " ",
"regLocation": "上海市金山区卫昌路229号2幢220室",
"regCapital": "3.000",
"businessScope": "化妆品,日用百货,服装鞋帽,健身器材销售,投资咨询、商务咨询(除经纪)(涉及行政许可的凭许可证经营)。",
"regInstitute": "金山区市场监管局",
"companyProvince": "上海",
"companyCity": "金山区",
"companyCate1": "批发和零售业",
"companyCate2": "批发业",
"companyCate3": "纺织、服装及家庭用品批发"
} }
] ]
}, },
"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 @@ ...@@ -188,4 +217,4 @@
"companyCity": "金山区",//公司二级市 "companyCity": "金山区",//公司二级市
"companyCate1": "批发和零售业",//行业分类一级分类 "companyCate1": "批发和零售业",//行业分类一级分类
"companyCate2": "批发业",//行业分类二级分类 "companyCate2": "批发业",//行业分类二级分类
"companyCate3": "纺织、服装及家庭用品批发"//行业分类三级分类 "companyCate3": "纺织、服装及家庭用品批发"//行业分类三级分类
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment