Commit 357d5758 by 庄冰

icp

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