Commit 045a1ff9 by 宋毅

增加日志

parent 8df5446b
......@@ -62,6 +62,7 @@ const baiduIcpStatus = {
class BaseCenterOrderService extends AppServiceBase {
constructor() {
super();
this.execClientNew = system.getObject("util.execClientNew");
this.centerOrderUrl = settings.centerOrderUrl();
this.execClient = system.getObject("util.execClient");
this.aliclient = system.getObject("util.aliyunClient");
......@@ -741,10 +742,11 @@ class BaseCenterOrderService extends AppServiceBase {
return pushRes;
}
//通知交付状态变更
//通知交付状态变更-所有渠道状态更改
async serviceProviderNotification(pobj) {
console.log('zhuangtai ++++',pobj)
var res = await this.reqCenterOrderApi(pobj, "action/qcapi/springBoard");
let res = await this.reqCenterOrderApi(pobj, "action/qcapi/springBoard");
this.execClientNew.execLogs("serviceProviderNotification-reqCenterOrderApi:", pobj, "center-channel-serviceProviderNotification", res, null);
if (res && res.status == 0 && res.data) {
if(pobj.actionBody.isTest && pobj.actionBody.isTest==1){
var reqPushParams = {};
......@@ -829,7 +831,7 @@ class BaseCenterOrderService extends AppServiceBase {
};
//推送状态变更
var baidu = await this.baiduclient.baiduReqbyget({ path: "/api/bla/provider/license/update", reqbody: pushObj });
console.log('res.data baidu +++++',baidu)
this.execClientNew.execLogs("serviceProviderNotification-baiduReqbyget:", pushObj, "center-channel-serviceProviderNotification", baidu, null);
if(baidu && baidu.data && baidu.data.result){
var baiduFlag = 200
}else{
......
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