Commit a4bdf7a7 by 宋毅

添加备注

parent 1e9a515e
...@@ -129,7 +129,7 @@ class RegCenterOrderService extends AppServiceBase { ...@@ -129,7 +129,7 @@ class RegCenterOrderService extends AppServiceBase {
appInfo: pobj.appInfo appInfo: pobj.appInfo
} }
//往云服推送订单 //往云服推送订单
var baiduPushRes = await this.utilsPushSve.business2Channel(fqobj, "pushOrderICPBusinessNew"); let yunfuRes = await this.utilsPushSve.business2Channel(fqobj, "pushOrderICPBusinessNew");
var deliveryObj = { var deliveryObj = {
actionBody: { actionBody: {
...@@ -147,9 +147,9 @@ class RegCenterOrderService extends AppServiceBase { ...@@ -147,9 +147,9 @@ class RegCenterOrderService extends AppServiceBase {
}; };
//往资质宝推送订单 //往资质宝推送订单
if (pobj.actionBody.isDirectBuy && pobj.actionBody.isDirectBuy == 1) {//直接下单需执行添加订单业务员操作 if (pobj.actionBody.isDirectBuy && pobj.actionBody.isDirectBuy == 1) {//直接下单需执行添加订单业务员操作
if (baiduPushRes && baiduPushRes.status == 0) { if (yunfuRes && yunfuRes.status == 0) {
if (baiduPushRes.data && baiduPushRes.data.data) { if (yunfuRes.data && yunfuRes.data.data) {
var resData = baiduPushRes.data.data; var resData = yunfuRes.data.data;
var salesmanInfo = { var salesmanInfo = {
salesmanName: resData.orderList && resData.orderList.length > 0 ? resData.orderList[0].operatorName : "", salesmanName: resData.orderList && resData.orderList.length > 0 ? resData.orderList[0].operatorName : "",
salesmanChannelId: resData.orderList && resData.orderList.length > 0 ? resData.orderList[0].operator : "", salesmanChannelId: resData.orderList && resData.orderList.length > 0 ? resData.orderList[0].operator : "",
...@@ -293,7 +293,17 @@ class RegCenterOrderService extends AppServiceBase { ...@@ -293,7 +293,17 @@ class RegCenterOrderService extends AppServiceBase {
return data; return data;
} }
//状态更新 /***
* 状态更新
* @param pobj
* @returns {Promise<{msg: *, data: *, status: *}|{msg: *, data, bizmsg: *|string, status: number}|any>}
* status:
1:用户已支付
2:用户已上传(客户上传材料)
3:为资料未确认(暂时不用做处理)
4:用户已确认
11:方案已关闭
*/
async regOrderStatus(pobj) { async regOrderStatus(pobj) {
var actionBody = pobj.actionBody; var actionBody = pobj.actionBody;
var self = this; var self = this;
......
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