Commit 9beb0d2e by 宋毅

修改阿里工商跟进信息

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