Commit fad33b66 by 宋毅

tj

parent 7c0b6794
......@@ -47,8 +47,37 @@ class UtilsOrderService extends AppServiceBase {
if (opResult.data && opResult.data.product_info && opResult.data.product_info.price_item) {
tmpPobj.actionBody.sku = opResult.data.product_info.price_item.service_code;
}
//接收方要求
// Assert.notNull(request.get("appName"), "渠道名称不能为空");
// Assert.notNull(request.get("sku"), "sku不能为空");
// Assert.notNull(request.get("orderNo"), "渠道订单号不能为空");
// Assert.notNull(request.get("orderPrice"), "订单金额不能为空");
// Assert.notNull(request.get("phone"), "手机号不能为空");
var fqobj = {
actionBody: {
area: opResult.data.product_info.item_name,
idempotentSource: opResult.data.product_info.service_business_code,
orderNo: opResult.data.order_info.channelOrderNo,
orderPrice: Number(opResult.data.order_info.payTotalSum / 100),
quantity: 1,
// phone: opResult.data.order_info,
// needId: solutiondata.data.channelNeedNo,
// price_desc : pobj.actionBody.taxpayerType,
// additions_desc: pobj.actionBody.companyProperties,
// companyName:solutiondata.data.solutionContent.CompanyName || ''
},
appInfo: pobj.appInfo
}
fqobj.actionBody.appName = pobj.appInfo.app_name;
if (opResult.data && opResult.data.delivery_content && opResult.data.delivery_content.orderContact) {
fqobj.actionBody.phone = opResult.data.delivery_content.orderContact.mobile;
}
if (opResult.data && opResult.data.product_info && opResult.data.product_info.price_item) {
fqobj.actionBody.sku = opResult.data.product_info.price_item.service_code;
fqobj.actionBody.price_desc = opResult.data.product_info.price_item.price_desc;
}
this.execClientNew.execLogs("pushNewFq-3", tmpPobj, "center-channel-utilsOrderSve-pushNewFqByChannelOrderNo-pushBusInfo", "pushOrder", null);
this.utilsPushSve.pushBusInfo(tmpPobj, "pushOrder", 1);
this.utilsPushSve.aliBusiness2Fq(tmpPobj, "pushOrderBusiness");
}
}
......
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