Commit 5d234fca by 庄冰

icp

parent 31cc6c98
......@@ -46,6 +46,9 @@ class IcpAPI extends APIBase {
case "abolishIcpProgramme"://服务商icp方案关闭
opResult = await this.centerorderSve.abolishIcpProgramme(pobj);
break;
case "getProgrammeInfoByChannelNeedNo"://获取需求方案列表
opResult = await this.centerorderSve.reqCenterOrderApi(pobj,"action/icpapi/springBoard");
break;
// case "updateStausByRefundOrder"://修改退款方案状态
// opResult = await this.needsolutionSve.updateStausByRefundOrder(pobj);
// break;
......
......@@ -109,7 +109,7 @@ module.exports = function (app) {
}
req.body.appInfo = result.data;
req.body.actionProcess = result.data.app_code;
var lst = ["tmConfirm", "getNeedSolutionDetailByUser",
var lst = ["tmConfirm", "getNeedSolutionDetailByUser","getProgrammeInfoByChannelNeedNo",
"submitIcpProgramme", "submitIcpMaterial", "acceptIcpPartnerNotification", "abolishIcpProgramme",
"addOrder", "getH5PayUrl", "getOrderQrCode", "queryOrderStatus", "getOrderInfo", "getOrderDeliveryInfo", "getOrderDetails",
"getOrderDeliveryFlowInfo", "getOrderDeliveryFlowList", "getOrderLogInfo", "updateContacts", "updateTmOrder", "delOrder",
......
......@@ -2,7 +2,7 @@
1. [icp方案提交](#submitIcpProgramme)
1. [icp材料提交](#submitIcpMaterial)
1. [根据需求产看方案详情](#getProgrammeInfoByNeedNo)
1. [根据需求产看方案详情](#getProgrammeInfoByChannelNeedNo)
1. [icp通知状态变更](#acceptIcpPartnerNotification)
1. [服务商关闭icp方案](#abolishIcpProgramme)
1. [获取方案详情](#getNeedSolutionDetailByUser)
......@@ -24,6 +24,7 @@
"solutionContent":{
"bizType":"gszc",
"solution":{
"IcpType":1,//方案类型 不传默认1 1:icp 2: edi
"CompanyName":"公司名",
"CompanyAddress":"公司地址",
"Area":"区域",
......@@ -92,20 +93,20 @@
```
## **<a name="getProgrammeInfoByNeedNo"> 根据需求产看方案详情</a>**
## **<a name="getProgrammeInfoByChannelNeedNo"> 根据需求查看方案详情</a>**
[返回到目录](#menu)
##### URL
[/web/action/icapi/springBoard]
[/web/action/icpapi/springBoard]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 请求头中需要增加userpin(用户登录后的凭证)的值
#### 渠道执行的类型 actionType:getProgrammeInfoByNeedNo
#### 渠道执行的类型 actionType:getProgrammeInfoByChannelNeedNo
``` javascript
{
"actionType":"getProgrammeInfoByNeedNo",
"actionType":"getProgrammeInfoByChannelNeedNo",
"actionBody":{
"needNo":"N202002141324bupnr8L"
"needNo":"20200413210610000001"
}
}
......@@ -118,21 +119,217 @@
"msg":"success",
"data":[
{
"needNo":"N202002141324bupnr8L",
"solutionNo":"NS202003161734ay0SzH",
"needNo":"N202004132334EjurnEr",
"solutionNo":"NS202004140953WtCUTG",
"channelSolutionNo":"S20200323174838000zhb8",
"orderNo":null,
"solutionContent":{
"bizType":"esp.companyreg",
"notes":"用户反馈",
"notes":"",
"bizType":"icpsq",
"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",
"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