Commit 5d234fca by 庄冰

icp

parent 31cc6c98
...@@ -46,6 +46,9 @@ class IcpAPI extends APIBase { ...@@ -46,6 +46,9 @@ class IcpAPI extends APIBase {
case "abolishIcpProgramme"://服务商icp方案关闭 case "abolishIcpProgramme"://服务商icp方案关闭
opResult = await this.centerorderSve.abolishIcpProgramme(pobj); opResult = await this.centerorderSve.abolishIcpProgramme(pobj);
break; break;
case "getProgrammeInfoByChannelNeedNo"://获取需求方案列表
opResult = await this.centerorderSve.reqCenterOrderApi(pobj,"action/icpapi/springBoard");
break;
// case "updateStausByRefundOrder"://修改退款方案状态 // case "updateStausByRefundOrder"://修改退款方案状态
// opResult = await this.needsolutionSve.updateStausByRefundOrder(pobj); // opResult = await this.needsolutionSve.updateStausByRefundOrder(pobj);
// break; // break;
......
...@@ -109,7 +109,7 @@ module.exports = function (app) { ...@@ -109,7 +109,7 @@ module.exports = function (app) {
} }
req.body.appInfo = result.data; req.body.appInfo = result.data;
req.body.actionProcess = result.data.app_code; req.body.actionProcess = result.data.app_code;
var lst = ["tmConfirm", "getNeedSolutionDetailByUser", var lst = ["tmConfirm", "getNeedSolutionDetailByUser","getProgrammeInfoByChannelNeedNo",
"submitIcpProgramme", "submitIcpMaterial", "acceptIcpPartnerNotification", "abolishIcpProgramme", "submitIcpProgramme", "submitIcpMaterial", "acceptIcpPartnerNotification", "abolishIcpProgramme",
"addOrder", "getH5PayUrl", "getOrderQrCode", "queryOrderStatus", "getOrderInfo", "getOrderDeliveryInfo", "getOrderDetails", "addOrder", "getH5PayUrl", "getOrderQrCode", "queryOrderStatus", "getOrderInfo", "getOrderDeliveryInfo", "getOrderDetails",
"getOrderDeliveryFlowInfo", "getOrderDeliveryFlowList", "getOrderLogInfo", "updateContacts", "updateTmOrder", "delOrder", "getOrderDeliveryFlowInfo", "getOrderDeliveryFlowList", "getOrderLogInfo", "updateContacts", "updateTmOrder", "delOrder",
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
1. [icp方案提交](#submitIcpProgramme) 1. [icp方案提交](#submitIcpProgramme)
1. [icp材料提交](#submitIcpMaterial) 1. [icp材料提交](#submitIcpMaterial)
1. [根据需求产看方案详情](#getProgrammeInfoByNeedNo) 1. [根据需求产看方案详情](#getProgrammeInfoByChannelNeedNo)
1. [icp通知状态变更](#acceptIcpPartnerNotification) 1. [icp通知状态变更](#acceptIcpPartnerNotification)
1. [服务商关闭icp方案](#abolishIcpProgramme) 1. [服务商关闭icp方案](#abolishIcpProgramme)
1. [获取方案详情](#getNeedSolutionDetailByUser) 1. [获取方案详情](#getNeedSolutionDetailByUser)
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
"solutionContent":{ "solutionContent":{
"bizType":"gszc", "bizType":"gszc",
"solution":{ "solution":{
"IcpType":1,//方案类型 不传默认1 1:icp 2: edi
"CompanyName":"公司名", "CompanyName":"公司名",
"CompanyAddress":"公司地址", "CompanyAddress":"公司地址",
"Area":"区域", "Area":"区域",
...@@ -92,20 +93,20 @@ ...@@ -92,20 +93,20 @@
``` ```
## **<a name="getProgrammeInfoByNeedNo"> 根据需求产看方案详情</a>** ## **<a name="getProgrammeInfoByChannelNeedNo"> 根据需求查看方案详情</a>**
[返回到目录](#menu) [返回到目录](#menu)
##### URL ##### URL
[/web/action/icapi/springBoard] [/web/action/icpapi/springBoard]
#### 参数格式 `JSON` #### 参数格式 `JSON`
#### HTTP请求方式 `POST` #### HTTP请求方式 `POST`
#### 请求头中需要增加userpin(用户登录后的凭证)的值 #### 请求头中需要增加userpin(用户登录后的凭证)的值
#### 渠道执行的类型 actionType:getProgrammeInfoByNeedNo #### 渠道执行的类型 actionType:getProgrammeInfoByChannelNeedNo
``` javascript ``` javascript
{ {
"actionType":"getProgrammeInfoByNeedNo", "actionType":"getProgrammeInfoByChannelNeedNo",
"actionBody":{ "actionBody":{
"needNo":"N202002141324bupnr8L" "needNo":"20200413210610000001"
} }
} }
...@@ -118,21 +119,217 @@ ...@@ -118,21 +119,217 @@
"msg":"success", "msg":"success",
"data":[ "data":[
{ {
"needNo":"N202002141324bupnr8L", "needNo":"N202004132334EjurnEr",
"solutionNo":"NS202003161734ay0SzH", "solutionNo":"NS202004140953WtCUTG",
"channelSolutionNo":"S20200323174838000zhb8",
"orderNo":null, "orderNo":null,
"solutionContent":{ "solutionContent":{
"bizType":"esp.companyreg", "notes":"",
"notes":"用户反馈", "bizType":"icpsq",
"solution":{ "solution":{
"Area":"区域222",
"Note":"备注4",
"IcpType":"icp",
"CompanyName":"公司名测试数据222",
"CompanyAddress":"公司地址222"
},
"totalSum":"",
"typeCode":"icpsq",
"typeName":"icp申请",
"applicationStatusList":[
{
"created_at":"2020-04-14T01:53:33.305Z",
"OfficialFileURL":"",
"ApplicationStatus":"submitIcpProgramme",
"ApplicationStatusName":"提交方案"
} }
]
}, },
"status":"yzf", "status":"yzf",
"statusName":"已作废" "statusName":"已作废"
},
{
"needNo":"N202004132334EjurnEr",
"solutionNo":"NS202004141407Xd29lT",
"channelSolutionNo":null,
"orderNo":null,
"solutionContent":{
"notes":"",
"bizType":"icpsq",
"solution":{
"Area":"区域222",
"Note":"备注222",
"IcpType":1,
"CompanyName":"公司名测试数据222",
"CompanyAddress":"公司地址222"
},
"totalSum":"",
"typeCode":"icpsq",
"typeName":"icp申请",
"applicationStatusList":[
{
"created_at":"2020-04-14T06:07:47.562Z",
"OfficialFileURL":"",
"ApplicationStatus":"submitIcpProgramme",
"ApplicationStatusName":"提交方案"
}
]
},
"status":"dqr",
"statusName":"待确认"
},
{
"needNo":"N202004132334EjurnEr",
"solutionNo":"NS202004141424cOM410",
"channelSolutionNo":null,
"orderNo":null,
"solutionContent":{
"notes":"",
"bizType":"icpsq",
"solution":{
"Area":"区域222",
"Note":"备注222",
"IcpType":1,
"CompanyName":"公司名测试数据222",
"CompanyAddress":"公司地址222"
},
"totalSum":"",
"typeCode":"icpsq",
"typeName":"icp申请",
"applicationStatusList":[
{
"created_at":"2020-04-14T06:24:50.758Z",
"OfficialFileURL":"",
"ApplicationStatus":"submitIcpProgramme",
"ApplicationStatusName":"提交方案"
}
]
},
"status":"dqr",
"statusName":"待确认"
},
{
"needNo":"N202004132334EjurnEr",
"solutionNo":"NS202004141426LIzgBx",
"channelSolutionNo":null,
"orderNo":null,
"solutionContent":{
"notes":"",
"bizType":"icpsq",
"solution":{
"Area":"区域222",
"Note":"备注222",
"IcpType":1,
"CompanyName":"公司名测试数据222",
"CompanyAddress":"公司地址222"
},
"totalSum":"",
"typeCode":"icpsq",
"typeName":"icp申请",
"applicationStatusList":[
{
"created_at":"2020-04-14T06:26:24.666Z",
"OfficialFileURL":"",
"ApplicationStatus":"submitIcpProgramme",
"ApplicationStatusName":"提交方案"
}
]
},
"status":"dqr",
"statusName":"待确认"
},
{
"needNo":"N202004132334EjurnEr",
"solutionNo":"NS202004141434jknJyu",
"channelSolutionNo":null,
"orderNo":null,
"solutionContent":{
"notes":"",
"bizType":"icpsq",
"solution":{
"Area":"区域222",
"Note":"备注222",
"IcpType":1,
"CompanyName":"公司名测试数据222",
"CompanyAddress":"公司地址222"
},
"totalSum":"",
"typeCode":"icpsq",
"typeName":"icp申请",
"applicationStatusList":[
{
"created_at":"2020-04-14T06:34:30.518Z",
"OfficialFileURL":"",
"ApplicationStatus":"submitIcpProgramme",
"ApplicationStatusName":"提交方案"
}
]
},
"status":"dqr",
"statusName":"待确认"
},
{
"needNo":"N202004132334EjurnEr",
"solutionNo":"NS202004141443UJ0nzb",
"channelSolutionNo":null,
"orderNo":null,
"solutionContent":{
"notes":"",
"bizType":"icpsq",
"solution":{
"Area":"区域222",
"Note":"备注222",
"IcpType":1,
"CompanyName":"公司名测试数据222",
"CompanyAddress":"公司地址222"
},
"totalSum":"",
"typeCode":"icpsq",
"typeName":"icp申请",
"applicationStatusList":[
{
"created_at":"2020-04-14T06:43:06.766Z",
"OfficialFileURL":"",
"ApplicationStatus":"submitIcpProgramme",
"ApplicationStatusName":"提交方案"
}
]
},
"status":"dqr",
"statusName":"待确认"
},
{
"needNo":"N202004132334EjurnEr",
"solutionNo":"NS202004141444Qn2bdA",
"channelSolutionNo":null,
"orderNo":null,
"solutionContent":{
"notes":"",
"bizType":"icpsq",
"solution":{
"Area":"区域222",
"Note":"备注222",
"IcpType":1,
"CompanyName":"公司名测试数据222",
"CompanyAddress":"公司地址222"
},
"totalSum":"",
"typeCode":"icpsq",
"typeName":"icp申请",
"applicationStatusList":[
{
"created_at":"2020-04-14T06:44:59.198Z",
"OfficialFileURL":"",
"ApplicationStatus":"submitIcpProgramme",
"ApplicationStatusName":"提交方案"
}
]
},
"status":"dqr",
"statusName":"待确认"
} }
], ],
"requestId":"4302ecc284e747a990e4ad61d8236b60" "requestId":"cc07e0967e0840abbca13af4c4d366f6"
} }
``` ```
......
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