Commit 4437bbdb by sxy

fix:: 推送商机

parent a902a4c0
...@@ -25,21 +25,11 @@ class UtilsFgbusinesschancService extends AppServiceBase { ...@@ -25,21 +25,11 @@ class UtilsFgbusinesschancService extends AppServiceBase {
return result; return result;
} }
async create(pobj, actionBody) { async create(pobj, actionBody) {
var reqUrl = this.centerOrderUrl + "action/fgbusinesschance/springBoard"; if (!actionBody.businessData) {
//companyId` ,`companyName`,`businessId`,`status`,`stateName`,`created_at`,`collectContent` return system.getResult(null, "actionBody.businessData can not be empty,100290");
pobj.actionBody = {
companyId: "test",
companyName: "test",
businessId: "22222",
status: "没退",
stateName: "未跟进",
collectContent: JSON.stringify({
test: "test"
})
} }
this.utilsPushSve.aliBusiness2Fq(pobj, "pushRePurchaseBusiness"); this.utilsPushSve.aliBusiness2Fq(pobj, "pushRePurchaseBusiness");
var result = await this.restPostUrl(pobj, reqUrl); return system.getResultSuccess();
return result;
} }
......
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