Commit c80a3219 by Sxy

feat: 接网文 广播

parent b28e1c0f
...@@ -52,10 +52,14 @@ class BaiduHandler { ...@@ -52,10 +52,14 @@ class BaiduHandler {
params.businessType = "/qcfw/edi/"; params.businessType = "/qcfw/edi/";
params.businessName = "edi" params.businessName = "edi"
} }
if (actionBody.type_code == "wangwen") { if (actionBody.type_code == "NC") {
params.businessType = "wangwen"; params.businessType = "wangwen";
params.businessName = "wangwen" params.businessName = "wangwen"
} }
if (actionBody.type_code == "RT") {
params.businessType = "guangbo";
params.businessName = "guangbo"
}
if (actionBody.type_code == "food") { if (actionBody.type_code == "food") {
params.businessType = "food"; params.businessType = "food";
params.businessName = "food" params.businessName = "food"
...@@ -307,9 +311,12 @@ class BaiduHandler { ...@@ -307,9 +311,12 @@ class BaiduHandler {
if (data.needsolution.bizType == "edisq") { if (data.needsolution.bizType == "edisq") {
obj.businessType = "EDI"; obj.businessType = "EDI";
} }
if (data.needsolution.bizType == "wangwen") { if (data.needsolution.bizType == "NC") {
obj.businessType = "wangwen"; obj.businessType = "wangwen";
} }
if (data.needsolution.bizType == "RT") {
obj.businessType = "guangbo";
}
if (data.needsolution.bizType == "food") { if (data.needsolution.bizType == "food") {
obj.businessType = "food"; obj.businessType = "food";
} }
......
...@@ -20,7 +20,7 @@ class PannongHandler { ...@@ -20,7 +20,7 @@ class PannongHandler {
"requestId": "" "requestId": ""
} }
} else { } else {
let requrl = `${this.icpUrl}/web/delivery/servicebillCtl/create`; let requrl = `${this.icpUrl}/web/agriculture/servicebillCtl/create`;
let { actionBody } = datajson; let { actionBody } = datajson;
let rtn = await rc.execPost3(actionBody, requrl); let rtn = await rc.execPost3(actionBody, requrl);
let j = JSON.parse(rtn.stdout); let j = JSON.parse(rtn.stdout);
......
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