Commit 8cdbe604 by 兰国旗

laolan

parent 3feac937
...@@ -6,6 +6,8 @@ class QcAPI extends APIBase { ...@@ -6,6 +6,8 @@ class QcAPI extends APIBase {
super(); super();
this.qcCenterOrderSve = system.getObject("service.common.qcCenterOrderSve"); this.qcCenterOrderSve = system.getObject("service.common.qcCenterOrderSve");
this.baseOrderSve = system.getObject("service.common.baseCenterOrderSve"); this.baseOrderSve = system.getObject("service.common.baseCenterOrderSve");
this.ncSve = system.getObject("service.common.ncSve");
this.rtSve = system.getObject("service.common.rtSve");
} }
/** /**
* 接口跳转-POST请求 * 接口跳转-POST请求
...@@ -54,40 +56,64 @@ class QcAPI extends APIBase { ...@@ -54,40 +56,64 @@ class QcAPI extends APIBase {
opResult = await this.qcCenterOrderSve.closeOrderDelivery(pobj); opResult = await this.qcCenterOrderSve.closeOrderDelivery(pobj);
break; break;
// --------- 网文 --------- // --------- 网文 ---------
case "ncServiceSubmitOption"://服务商提交服务操作(文网文)2020-9-26 case "ncGetNeedList"://查询需求列表(网文)2020-11-11
opResult = await this.qcCenterOrderSve.ncServiceSubmitOption(pobj); opResult = await this.ncSve.ncGetNeedList(pobj);
break; break;
case "ncSubmitSolution"://提交方案(文网文)2020-9-26 case "ncSubmitMaterial"://交付材料提交(网文)2020-11-11
opResult = await this.qcCenterOrderSve.ncSubmitSolution(pobj); opResult = await this.ncSve.ncSubmitMaterial(pobj);
break; break;
case "ncCloseNeed"://关闭需求(文网文)2020-9-28 case "ncNotification"://状态通知(网文)2020-11-11
opResult = await this.qcCenterOrderSve.ncCloseNeed(pobj); opResult = await this.ncSve.ncNotification(pobj);
break; break;
case "ncRecordLog"://提交沟通记录(文网文)2020-9-28 case "ncSubmitSolution"://提交方案(网文)2020-11-11
opResult = await this.qcCenterOrderSve.ncRecordLog(pobj); opResult = await this.ncSve.ncSubmitSolution(pobj);
break; break;
case "ncRecordLogList"://查询沟通记录(文网文)2020-9-29 case "ncWriteCommunicationRecord"://提交沟通记录(网文)2020-11-11
opResult = await this.qcCenterOrderSve.ncRecordLogList(pobj); opResult = await this.ncSve.ncWriteCommunicationRecord(pobj);
break;
case "ncGetCommunicationRecord"://查询沟通记录(网文)2020-11-11
opResult = await this.ncSve.ncGetCommunicationRecord(pobj);
break;
case "ncCloseNeed"://关闭需求(网文)2020-11-11
opResult = await this.ncSve.ncCloseNeed(pobj);
break;
case "ncClosePlan"://关闭方案(网文)2020-11-11
opResult = await this.ncSve.ncClosePlan(pobj);
break;
case "ncCloseOrderDelivery"://关闭交付单(网文)2020-11-11
opResult = await this.ncSve.ncCloseOrderDelivery(pobj);
break; break;
// --------- 广电 --------- // --------- 广电 ---------
case "rtServiceSubmitOption"://服务商提交服务操作(文网文)2020-9-26 case "rtGetNeedList"://查询需求列表(广电)2020-11-11
opResult = await this.qcCenterOrderSve.rtServiceSubmitOption(pobj); opResult = await this.rtSve.rtGetNeedList(pobj);
break;
case "rtSubmitMaterial"://交付材料提交(广电)2020-11-11
opResult = await this.rtSve.rtSubmitMaterial(pobj);
break;
case "rtNotification"://状态通知(广电)2020-11-11
opResult = await this.rtSve.rtNotification(pobj);
break;
case "rtSubmitSolution"://提交方案(广电)2020-11-11
opResult = await this.rtSve.rtSubmitSolution(pobj);
break;
case "rtWriteCommunicationRecord"://提交沟通记录(广电)2020-11-11
opResult = await this.rtSve.rtWriteCommunicationRecord(pobj);
break; break;
case "rtSubmitSolution"://提交方案(文网文)2020-9-26 case "rtGetCommunicationRecord"://查询沟通记录(广电)2020-11-11
opResult = await this.qcCenterOrderSve.rtSubmitSolution(pobj); opResult = await this.rtSve.rtGetCommunicationRecord(pobj);
break; break;
case "rtCloseNeed"://关闭需求(文网文)2020-9-28 case "rtCloseNeed"://关闭需求(广电)2020-11-11
opResult = await this.qcCenterOrderSve.rtCloseNeed(pobj); opResult = await this.rtSve.rtCloseNeed(pobj);
break; break;
case "rtRecordLog"://提交沟通记录(文网文)2020-9-28 case "rtClosePlan"://关闭方案(广电)2020-11-11
opResult = await this.qcCenterOrderSve.rtRecordLog(pobj); opResult = await this.rtSve.rtClosePlan(pobj);
break; break;
case "rtRecordLogList"://查询沟通记录(文网文)2020-9-29 case "rtCloseOrderDelivery"://关闭交付单(广电)2020-11-11
opResult = await this.qcCenterOrderSve.rtRecordLogList(pobj); opResult = await this.rtSve.rtCloseOrderDelivery(pobj);
break; break;
default: default:
......
const co = require("co");
var request = require("request");
const crypto = require('crypto'); const crypto = require('crypto');
const sha256 = require('sha256'); const sha256 = require('sha256');
var urlencode = require('urlencode');
const system = require("../system"); const system = require("../system");
class baiduClient { class baiduClient {
constructor() { constructor() {
......
...@@ -14,15 +14,16 @@ module.exports = { ...@@ -14,15 +14,16 @@ module.exports = {
"orderTotalSum", "collect", "reg", "orderCheck", "getReOrderList", "getOfficalList", "addReviewList", "opSubmitNeed", "opNeedClose", "opNeedList", "orderTotalSum", "collect", "reg", "orderCheck", "getReOrderList", "getOfficalList", "addReviewList", "opSubmitNeed", "opNeedClose", "opNeedList",
"getItemByNeedNo", "opNeedDetailByChannelNo", "getNeedListUser", "manualEvaluation", "diagnosisInfo", "check", "enterpriseInfo", "diagnosisDetail", "getItemByNeedNo", "opNeedDetailByChannelNo", "getNeedListUser", "manualEvaluation", "diagnosisInfo", "check", "enterpriseInfo", "diagnosisDetail",
"submitIcpIntention", "queryIntentionList", "confirmIcpIntention", "tmAccept", "tmStatus", "needBatchUpload", "submitIcpIntention", "queryIntentionList", "confirmIcpIntention", "tmAccept", "tmStatus", "needBatchUpload",
"ncServiceSubmitOption", "ncSubmitSolution", "ncCloseNeed", "ncWriteCommunicationRecord", "ncGetCommunicationRecord", "rtServiceSubmitOption", "rtSubmitSolution", "ncSubmitMaterial","ncNotification","ncSubmitSolution","ncWriteCommunicationRecord","ncGetCommunicationRecord","ncCloseNeed","ncClosePlan","ncCloseOrderDelivery",
"rtCloseNeed", "rtWriteCommunicationRecord", "rtGetCommunicationRecord", "getParamsFor360", "addOrderWeb", "getPayRecords", "getLoginInfo", "putUserMobileByVcode", "rtSubmitMaterial","rtNotification","rtSubmitSolution","rtWriteCommunicationRecord","rtGetCommunicationRecord","rtCloseNeed","rtClosePlan","rtCloseOrderDelivery",
"getParamsFor360", "addOrderWeb", "getPayRecords", "getLoginInfo", "putUserMobileByVcode",
"putUserPwdByMobile", "icpNotifyNew" "putUserPwdByMobile", "icpNotifyNew"
], ],
apiMustUserpinList: [ apiMustUserpinList: [
"submitNeed", "paySuccess", "icpNotify", "getLoginInfo", "icpNotifyNew", "submitIcpProgramme","serviceProviderSubmitMaterial","abolishIcpProgramme", "submitNeed", "paySuccess", "icpNotify", "getLoginInfo", "icpNotifyNew", "submitIcpProgramme","serviceProviderSubmitMaterial","abolishIcpProgramme",
"submitService","serviceProviderNotification", "submitService","serviceProviderNotification",
"ncServiceSubmitOption", "ncSubmitSolution", "ncCloseNeed", "ncWriteCommunicationRecord", "ncGetCommunicationRecord", "rtServiceSubmitOption", "rtSubmitSolution", "ncGetNeedList","ncSubmitMaterial","ncNotification","ncSubmitSolution","ncWriteCommunicationRecord","ncGetCommunicationRecord","ncCloseNeed","ncClosePlan","ncCloseOrderDelivery",
"rtCloseNeed", "rtWriteCommunicationRecord", "rtGetCommunicationRecord", "rtGetNeedList","rtSubmitMaterial","rtNotification","rtSubmitSolution","rtWriteCommunicationRecord","rtGetCommunicationRecord","rtCloseNeed","rtClosePlan","rtCloseOrderDelivery",
], ],
apiSecretPathList: ["/api/icp/consultation/submit","/api/icp/feedback/submit","/api/icp/order/notify","/api/opreceive/service/create","/api/icp/order/close","/api/opreceive/service/notify"] apiSecretPathList: ["/api/icp/consultation/submit","/api/icp/feedback/submit","/api/icp/order/notify","/api/opreceive/service/create","/api/icp/order/close","/api/opreceive/service/notify"]
} }
......
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