Commit fe9c1e71 by 宋毅

tj

parent 3a1ab12c
...@@ -266,3 +266,158 @@ ...@@ -266,3 +266,158 @@
"companyCate1": "批发和零售业",//行业分类一级分类 "companyCate1": "批发和零售业",//行业分类一级分类
"companyCate2": "批发业",//行业分类二级分类 "companyCate2": "批发业",//行业分类二级分类
"companyCate3": "纺织、服装及家庭用品批发"//行业分类三级分类 "companyCate3": "纺织、服装及家庭用品批发"//行业分类三级分类
4.查询推送失败列表
地址:http://192.168.1.128:4018/api/queueAction/producer/springBoard
请求方式:get
参数:
{
"actionType":"getPushFailureList",
"actionBody":{
"pageIndex":1,
"pageSize":1,
"messageBody":"249",// N 消息内容
"identifyCode":"249",// N 标识
"requestIdInfo":"PUB-20200714104143kB" //N
}
}
返回参数:
{
"status": 1,
"message": "success",
"data": [
{
"id": 336,
"queued_name": "SYTXFAIL-SYTXPUBLIC-MSGQ",
"identify_code": "needSubmit",
"op_title": "推送失败",
"push_content": {
"counter": 5,
"pushUrl": "http://txchannel-dev.brg.tencentyun.com/entService/consultation/springBoard",
"notifyUrl": "http://brguser.brg.tencentyun.com/api/receive/notifyApi/springBoard",
"requestId": "PUB-20200714104143kB",
"actionType": "needSubmit",
"queuedName": "NOTIFY-SYTXPUBLIC-MSGQ",
"resultInfo": {
"data": "",
"status": 1,
"message": "操作成功",
"requestId": ""
},
"messageBody": {
"Notes": "",
"Action": "SubmitNeed",
"UserId": "100000013569",
"NeedNum": "N202007141041iEzsIrC",
"RegionId": "110000",
"RegionName": "北京市",
"CompanyName": "10点",
"ConsultType": "/qcfw/icp/",
"ContactsName": "",
"ServicerCode": "S_202006201810vrHKgE",
"ServicerName": "公司宝",
"interfaceName": "/api/action/need/springBoard",
"ContactsMobile": "17602693126",
"ConsultTypeName": "/资质证照/icp/",
"VerificationCode": "998023"
},
"identifyCode": "needSubmit",
"pushAgainResultInfo": {
"data": null,
"status": -200,
"message": "consumer.base执行execPostByTimeOut存在异常,error:Error: Command failed: curl -k -H 'Content-type:application/json' -d '{\"actionType\":\"needSubmit\",\"identifyCode\":\"needSubmit\",\"actionBody\":{\"messageBody\":{\"interfaceName\":\"/api/action/need/springBoard\",\"Action\":\"SubmitNeed\",\"UserId\":\"100000013569\",\"ContactsMobile\":\"17602693126\",\"ContactsName\":\"\",\"CompanyName\":\"10点\",\"RegionId\":\"110000\",\"RegionName\":\"北京市\",\"ConsultType\":\"/qcfw/icp/\",\"ConsultTypeName\":\"/资质证照/icp/\",\"Notes\":\"\",\"VerificationCode\":\"998023\",\"ServicerCode\":\"S_202006201810vrHKgE\",\"ServicerName\":\"公司宝\",\"NeedNum\":\"N202007141041iEzsIrC\"},\"resultInfo\":{\"status\":1,\"message\":\"操作成功\",\"data\":\"\",\"requestId\":\"\"}},\"requestId\":\"PUB-20200714104143kB\"}' http://brguser.brg.tencentyun.com/api/receive/notifyApi/springBoard\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: brguser.brg.tencentyun.com; Unknown error\n\n at ChildProcess.exithandler (child_process.js:288:12)\n at ChildProcess.emit (events.js:182:13)\n at maybeClose (internal/child_process.js:962:16)\n at Process.ChildProcess._handle.onexit (internal/child_process.js:249:5)"
}
},
"result_info": {
"data": null,
"status": -200,
"message": "consumer.base执行execPostByTimeOut存在异常,error:Error: Command failed: curl -k -H 'Content-type:application/json' -d '{\"actionType\":\"needSubmit\",\"identifyCode\":\"needSubmit\",\"actionBody\":{\"messageBody\":{\"interfaceName\":\"/api/action/need/springBoard\",\"Action\":\"SubmitNeed\",\"UserId\":\"100000013569\",\"ContactsMobile\":\"17602693126\",\"ContactsName\":\"\",\"CompanyName\":\"10点\",\"RegionId\":\"110000\",\"RegionName\":\"北京市\",\"ConsultType\":\"/qcfw/icp/\",\"ConsultTypeName\":\"/资质证照/icp/\",\"Notes\":\"\",\"VerificationCode\":\"998023\",\"ServicerCode\":\"S_202006201810vrHKgE\",\"ServicerName\":\"公司宝\",\"NeedNum\":\"N202007141041iEzsIrC\"},\"resultInfo\":{\"status\":1,\"message\":\"操作成功\",\"data\":\"\",\"requestId\":\"\"}},\"requestId\":\"PUB-20200714104143kB\"}' http://brguser.brg.tencentyun.com/api/receive/notifyApi/springBoard\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: brguser.brg.tencentyun.com; Unknown error\n\n at ChildProcess.exithandler (child_process.js:288:12)\n at ChildProcess.emit (events.js:182:13)\n at maybeClose (internal/child_process.js:962:16)\n at Process.ChildProcess._handle.onexit (internal/child_process.js:249:5)"
},
"request_id": "PUB-20200714104143kB",
"created_at": "2020-07-14T10:46:24.000Z"
}
],
"totalCount": 43,
"requestId": "PUB-20200714104143kB"
}
5.再次推送失败信息
地址:http://192.168.1.128:4018/api/queueAction/producer/springBoard
请求方式:get
参数:
{
"actionType":"pushAgainFailureLog",
"actionBody":{
"id":336,// Y 失败id
}
}
返回参数:
{
"status": 1,
"message": "success",
"data": null,
"requestId": "MQ-202008191835E15Bv"
}
6.查询推送错误列表
地址:http://192.168.1.128:4018/api/queueAction/producer/springBoard
请求方式:get
参数:
{
"actionType":"getPushErrorList",
"actionBody":{
"pageIndex":1,
"pageSize":1,
"messageBody":"249",// N 消息内容
"identifyCode":"249",// N 标识
"requestIdInfo":"PUB-20200714104143kB" //N
}
}
返回参数:
{
"status": 1,
"message": "success",
"data": [
{
"id": 895,
"queued_name": "NOTIFY-SYTXPUBLIC-MSGQ",
"identify_code": "needSubmit",
"op_title": "consumer.base执行execPostByTimeOut存在异常",
"push_content": {
"requestId": "PUB-202007141021VSk3",
"actionBody": {
"resultInfo": {
"data": "",
"status": 1,
"message": "操作成功",
"requestId": ""
},
"messageBody": {
"Notes": "",
"Action": "SubmitNeed",
"UserId": "100000013569",
"NeedNum": "N202007141021yU1oiV4",
"RegionId": "110000",
"RegionName": "北京市",
"CompanyName": "汉唐",
"ConsultType": "/qcfw/icp/",
"ContactsName": "",
"ServicerCode": "S_202006201810vrHKgE",
"ServicerName": "公司宝",
"interfaceName": "/api/action/need/springBoard",
"ContactsMobile": "17602693126",
"ConsultTypeName": "/资质证照/icp/",
"VerificationCode": "552681"
}
},
"actionType": "needSubmit",
"identifyCode": "needSubmit"
},
"result_info": null,
"request_id": "PUB-202007141021VSk3",
"created_at": "2020-07-14T10:25:49.000Z"
}
],
"totalCount": 910,
"requestId": "MQ-202008201534A6O1w"
}
\ 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