Commit 9481d46d by 庄冰

ic2

parent 38ee957b
...@@ -25,10 +25,10 @@ class CenterorderService{ ...@@ -25,10 +25,10 @@ class CenterorderService{
var needinfo = res.data.needinfo;//需求信息 var needinfo = res.data.needinfo;//需求信息
var needsolution = res.data.needsolution;//方案信息 var needsolution = res.data.needsolution;//方案信息
//推送数据至阿 //推送数据至阿
var bizType = pobj.actionBody.solutionContent.bizType || "";//业务类型里 // var bizType = pobj.actionBody.solutionContent.bizType || "";//业务类型里
var pushObj = { // var pushObj = {
intentionBizId:needinfo.channelNeedNo,bizType:bizType,solution:ab.solutionContent.solution // intentionBizId:needinfo.channelNeedNo,bizType:bizType,solution:ab.solutionContent.solution
}; // };
// var pushRes = await this.aliclient.reqbyget({action:"",reqbody:pushObj}); // var pushRes = await this.aliclient.reqbyget({action:"",reqbody:pushObj});
// if(pushRes && pushRes.SolutionBizId){ // if(pushRes && pushRes.SolutionBizId){
// var reqObj2 = { // var reqObj2 = {
...@@ -40,8 +40,9 @@ class CenterorderService{ ...@@ -40,8 +40,9 @@ class CenterorderService{
// }; // };
// await this.reqCenterOrderApi(reqObj2);//保存渠道方案id // await this.reqCenterOrderApi(reqObj2);//保存渠道方案id
// } // }
return system.getResultSuccess();
} }
return system.getResultSuccess(); return res;
} }
//服务商方案作废 //服务商方案作废
async abolishProgramme(pobj){ async abolishProgramme(pobj){
......
...@@ -93,7 +93,8 @@ module.exports = function (app) { ...@@ -93,7 +93,8 @@ module.exports = function (app) {
"tmConfirm", "updateTmInfo", "tmConfirm", "updateTmInfo",
"updateNclInfo", "updateContacts", "updateNclInfo", "updateContacts",
"updateCustomerInfo", "addOrderAndDelivery", "updateCustomerInfo", "addOrderAndDelivery",
"updateOrderPayStatus", "getPolicyNeedList", "submitPolicyNeedNotes" "updateOrderPayStatus", "getPolicyNeedList", "submitPolicyNeedNotes",
"submitProgramme","getProgrammeInfoByNeedNo","abolishProgramme"
]; ];
if (lst.indexOf(req.body.actionType) >= 0) { if (lst.indexOf(req.body.actionType) >= 0) {
var userpin = req.headers["userpin"] || ""; var userpin = req.headers["userpin"] || "";
......
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