Commit a5b04c97 by 兰国旗

百度关闭需求推送云服替换appinfo信息为百度信息

parent 540efbad
...@@ -237,6 +237,9 @@ class NcService extends AppServiceBase { ...@@ -237,6 +237,9 @@ class NcService extends AppServiceBase {
var a = await this.baiduclient.baiduReqbyget({ path: "/api/bla/provider/requirement/update", reqbody: pushObj}); var a = await this.baiduclient.baiduReqbyget({ path: "/api/bla/provider/requirement/update", reqbody: pushObj});
console.log('nc closeNeed+++',a) console.log('nc closeNeed+++',a)
} }
if(result.data && result.data.uapp_id == 44){
pobj.appInfo.uapp_id = 44
}
this.utilsPushSve.business2Channel(pobj, "pushCloseICPNeed"); this.utilsPushSve.business2Channel(pobj, "pushCloseICPNeed");
} }
return result; return result;
......
...@@ -538,6 +538,9 @@ class RegCenterOrderService extends AppServiceBase { ...@@ -538,6 +538,9 @@ class RegCenterOrderService extends AppServiceBase {
resultInfo: JSON.stringify(tmpResult), resultInfo: JSON.stringify(tmpResult),
optitle: "推送baidu-reg关闭需求返回结果->closeNeed", optitle: "推送baidu-reg关闭需求返回结果->closeNeed",
}); });
if(result.data && result.data.uapp_id == 44){
pobj.appInfo.uapp_id = 44
}
this.utilsPushSve.business2Channel(pobj, "pushCloseICPNeed"); this.utilsPushSve.business2Channel(pobj, "pushCloseICPNeed");
} }
......
...@@ -240,6 +240,9 @@ class RtService extends AppServiceBase { ...@@ -240,6 +240,9 @@ class RtService extends AppServiceBase {
var a = await this.baiduclient.baiduReqbyget({ path: "/api/bla/provider/requirement/update", reqbody: pushObj}); var a = await this.baiduclient.baiduReqbyget({ path: "/api/bla/provider/requirement/update", reqbody: pushObj});
console.log('rt closeNeed+++',a) console.log('rt closeNeed+++',a)
} }
if(result.data && result.data.uapp_id == 44){
pobj.appInfo.uapp_id = 44
}
this.utilsPushSve.business2Channel(pobj, "pushCloseICPNeed"); this.utilsPushSve.business2Channel(pobj, "pushCloseICPNeed");
} }
return result; 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