Commit 357d5758 by 庄冰

icp

parent 4fa85af3
......@@ -38,7 +38,7 @@ class IcpAPI extends APIBase {
opResult = await this.centerorderSve.submitIcpMaterial(pobj);
break;
case "acceptIcpPartnerNotification"://icp通知状态变更
opResult = await this.centerorderSve.updateStausByRefundOrder(pobj);
opResult = await this.centerorderSve.acceptIcpPartnerNotification(pobj);
break;
case "abolishIcpProgramme"://服务商icp方案关闭
opResult = await this.centerorderSve.abolishIcpProgramme(pobj);
......
......@@ -200,7 +200,7 @@ class CenterorderService {
//--------------------------阿里ICP---start--------------------------------------------------------
//提交公司注册方案
async submitIcpProgramme(pobj) {
var res = await this.reqCenterOrderApi(pobj);
var res = await this.reqCenterOrderApi(pobj,"action/icpapi/springBoard");
if(res && res.status==0 && res.data && res.data.needinfo && res.data.needsolution){
var needinfo = res.data.needinfo;//需求信息
var needsolution = res.data.needsolution;//方案信息
......@@ -225,7 +225,7 @@ class CenterorderService {
}
//icp材料提交
async submitIcpMaterial(pobj) {
var res = await this.reqCenterOrderApi(pobj);
var res = await this.reqCenterOrderApi(pobj,"action/icpapi/springBoard");
if(res && res.status==0 && res.data){
var needsolution = res.data;//方案信息
var ab = pobj.actionBody;
......@@ -260,7 +260,7 @@ class CenterorderService {
}
//icp通知状态变更
async acceptIcpPartnerNotification(pobj){
var res = await this.reqCenterOrderApi(pobj);
var res = await this.reqCenterOrderApi(pobj,"action/icpapi/springBoard");
if(res && res.status==0 && res.data){
var ab = pobj.actionBody;
//推送数据至阿里
......@@ -273,7 +273,7 @@ class CenterorderService {
}
//服务商icp方案关闭
async abolishIcpProgramme(pobj){
var res = await this.reqCenterOrderApi(pobj);
var res = await this.reqCenterOrderApi(pobj,"action/icpapi/springBoard");
if(res && res.status==0 && res.data){
var needsolution = res.data;//方案信息
var ab = pobj.actionBody;
......
......@@ -110,6 +110,7 @@ module.exports = function (app) {
req.body.appInfo = result.data;
req.body.actionProcess = result.data.app_code;
var lst = ["tmConfirm",
"submitIcpProgramme","submitIcpMaterial","acceptIcpPartnerNotification","abolishIcpProgramme",
"addOrder", "getH5PayUrl", "getOrderQrCode", "queryOrderStatus", "getOrderInfo", "getOrderDeliveryInfo", "getOrderDetails",
"getOrderDeliveryFlowInfo", "getOrderDeliveryFlowList", "getOrderLogInfo", "updateContacts", "updateTmOrder", "delOrder",
"submitProgramme", "getProgrammeListByUser", "getProgrammeInfoByNeedNo", "abolishProgramme", "getAliPayInfo"
......
......@@ -19,20 +19,19 @@
{
"actionType":"submitIcpProgramme",
"actionBody":{
"needNo":"N202003231329BDuvTHP",
"needNo":"I20200320201737000zhb",
"solutionContent":{
"bizType":"产品类型",
"bizType":"gszc",
"solution":{
"CompanyName":"公司名",
"CompanyAddress":"公司地址",
"Area":"区域",
"Note":"备注",
},
"Note":"备注"
}
}
}
}
```
#### 返回结果
......@@ -59,11 +58,11 @@
{
"actionType":"submitIcpMaterial",
"actionBody":{
"BizId":"渠道方案id",
"BizId":"S20200323174838000zhb",
"material":{
"Domain":"备案域名",
"CorporateName":"法人名称",
"IncludeForeignInvestment":false or true, //是否包含外贸
"IncludeForeignInvestment":true,
"PartnerBusinessLicense":"营业执照",
"PartnerIdCardList":["相关人员身份证"],
"PartnerDomainCertificate":"域名证书",
......@@ -75,7 +74,7 @@
"PartnerSignOtherList":["需要签字,只能传递1个zip包"],
"PartnerSignAndStampOtherList":["需要盖章,只能传递1个zip包"]
}
}
}
......@@ -148,10 +147,13 @@
``` javascript
{
"BizId":"渠道方案id",
"OfficialFileUrl":"官⽂下载地址",
"ApplicationStatus":"通知状态"
}
"actionType":"acceptIcpPartnerNotification",
"actionBody":{
"BizId":"S20200323174838000zhb",
"OfficialFileUrl":"官⽂下载地址",
"ApplicationStatus":"507"
}
}
ApplicationStatus
507, "完成账户注册"
508, "服务商完成提交资料到⼯信部"
......@@ -183,9 +185,9 @@ ApplicationStatus:
``` javascript
{
"actionType":"submitIcpMaterial",
"actionType":"abolishIcpProgramme",
"actionBody":{
"BizId":"渠道方案id",
"BizId":"S20200323174838000zhb",
"Note":"备注"
}
}
......
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