Commit 7c6241eb by 宋毅

tj

parent 9f014841
......@@ -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;
......
......@@ -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);
}
......
......@@ -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": "SCZ202006172233xV7el"
"requestId": "SCZ202006181604MJBns"
}
参数说明:
......
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