Commit 9beb0d2e by 宋毅

修改阿里工商跟进信息

parent 5c9bbfe6
......@@ -27,7 +27,7 @@ class AccessAuthAPI extends APIBase {
var rtn = await this.gatewaypushlogSve.taskAliIcapi();
return rtn;
}
async taskAgainFqPushInfo(pobj, qobj, req) {//再次推送蜂擎业务数据
async taskAgainFqPushInfo(pobj, qobj, req) {//再次推送渠道业务数据
var rtn = await this.utilsPushSve.business2Channel(pobj, pobj.opType);
this.pushlogSve.delDbPushfaillogById(Number(pobj.id || 0));
return rtn;
......@@ -71,7 +71,7 @@ class AccessAuthAPI extends APIBase {
self.taskAgainPushOneNewBusInfo(contentData);
} else if (element.failType == 4) {
self.taskAgainFqPushInfo(contentData);
}//FQ
}//推送渠道(如:FQ)
}
}
return system.getResultSuccess();
......
......@@ -22,8 +22,11 @@ class PushAliInfo extends APIBase {
},
appInfo: {uapp_id: 18}
};
await this.utilsPushSve.business2Channel(reqPushParams, "pushAliTmNote");
return system.getResultSuccess();
let result = await this.utilsPushSve.business2Channel(reqPushParams, "pushAliTmNote");
if (result && result.data) {
return result.data;
}
return result;
}
/**
......@@ -42,6 +45,9 @@ class PushAliInfo extends APIBase {
appInfo: {uapp_id: 18}
};
let result = await this.utilsPushSve.business2Channel(reqPushParams, "pushAliIcNote");
if (result && result.data) {
return result.data;
}
return result;
}
}
......
......@@ -27,7 +27,7 @@ class PushlogService extends ServiceBase {
}
async createFailLogDb(qobj) {
try {
qobj.optitle = (new Date()).Format("yyyy-MM-dd hh:mm:ss") + ":" + qobj.optitle;
qobj.opTitle = (new Date()).Format("yyyy-MM-dd hh:mm:ss") + ":" + qobj.opTitle;
this.pushfaillogDao.create(qobj);
} catch (e) {
//日志记录
......
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