Commit 9b0be4a1 by 兰国旗

todo

parent f7442749
......@@ -225,10 +225,10 @@ class RegCenterOrderService extends AppServiceBase {
if (pobj.actionBody.channel_type_code) {
pobj.actionBody.type = regCfg.channelTypeCode[pobj.actionBody.channel_type_code]
pobj.actionBody.idempotentSource = "baidu_gsreg";
if(pobj.actionBody.channel_type_code=='QYJYTC1'){
if (pobj.actionBody.channel_type_code == 'QYJYTC1') {
pobj.actionBody.idempotentSource = "baidu_qyjytc1";
}
if(pobj.actionBody.channel_type_code=='QYJYTC2'){
if (pobj.actionBody.channel_type_code == 'QYJYTC2') {
pobj.actionBody.idempotentSource = "baidu_qyjytc2";
}
}
......@@ -625,6 +625,10 @@ class RegCenterOrderService extends AppServiceBase {
var baidu = await self.baiduRegClient.baiduReqbyget({ path: "/v1/provider/comreg", reqbody: pushObj });
console.log('推送交付信息/修改订单状态baidu+++', baidu)
console.log('推送交付信息/修改订单状态pushObj+++', pushObj)
//todo 推送云服订单所有交付单状态为完成时订单状态为完成的判断
// if(res.data.deliveryFlag && res.data.deliveryFlag2 && 200 == res.data.deliveryFlag == res.data.deliveryFlag2){
// await this.utilsPushSve.business2Channel("蜂擎参数", "更新订单完成状态的方法");
// }
return baidu.data
}
console.log('rsrsr++++------------++++', res)
......
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