Commit 5b70934d by 宋毅

添加推送判断

parent 2ab67635
...@@ -83,7 +83,10 @@ class UtilsFqAliyunService extends AppServiceBase { ...@@ -83,7 +83,10 @@ class UtilsFqAliyunService extends AppServiceBase {
if (interface_params_info.opUrl.indexOf("/cts-open-agency/crm/opportunity/submit") >= 0) { if (interface_params_info.opUrl.indexOf("/cts-open-agency/crm/opportunity/submit") >= 0) {
await this.transformNeedActionBody(pobj); await this.transformNeedActionBody(pobj);
} }
var result = await this.opAliyunClientPost(pobj, interface_params_info.opUrl, interface_params_info.key, interface_params_info.secret, pobj.actionBody); let result = await this.opAliyunClientPost(pobj, interface_params_info.opUrl, interface_params_info.key, interface_params_info.secret, pobj.actionBody);
if (result.status != 0) {
return await this.disposePushResultFail(pobj, result, "fq->pushAliBusiness2Fq->opAliyunClientPost->result", this.pushlogFailType.FQ);
}
return await this.disposePushResult(pobj, result, "fq->pushAliBusiness2Fq->result", this.pushlogFailType.FQ); return await this.disposePushResult(pobj, result, "fq->pushAliBusiness2Fq->result", this.pushlogFailType.FQ);
} }
...@@ -181,4 +184,4 @@ class UtilsFqAliyunService extends AppServiceBase { ...@@ -181,4 +184,4 @@ class UtilsFqAliyunService extends AppServiceBase {
//--------------------------------------------------内部辅助方法-------------------end----------------- //--------------------------------------------------内部辅助方法-------------------end-----------------
} }
module.exports = UtilsFqAliyunService; module.exports = UtilsFqAliyunService;
\ No newline at end of file
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