Commit 8a0bc749 by linboxuan

lin pannong

parent 1ec45e91
...@@ -165,16 +165,12 @@ class utils360Sve extends AppServiceBase { ...@@ -165,16 +165,12 @@ class utils360Sve extends AppServiceBase {
} }
async noticeService(pobj, actionBody,req) { async noticeService(pobj, actionBody,req) {
delete actionBody.appHosts
var obj = { var obj = {
appid: this.pannongServiceConfig.appid, appid: this.pannongServiceConfig.appid,
noncestr: this.getUUID(), noncestr: this.getUUID(),
timestamp: new Date().getTime(), timestamp: new Date().getTime(),
body: { body: actionBody
"bizId":actionBody.bizId,
"auditResult":actionBody.auditResult,
"serviceStartTime":actionBody.serviceStartTime,
"serviceEndTime":actionBody.serviceEndTime,
}
} }
var signResult = await this.signSve.createSign(obj, this.pannongServiceConfig.appkey); var signResult = await this.signSve.createSign(obj, this.pannongServiceConfig.appkey);
if(signResult.status != 0) { if(signResult.status != 0) {
...@@ -184,7 +180,7 @@ class utils360Sve extends AppServiceBase { ...@@ -184,7 +180,7 @@ class utils360Sve extends AppServiceBase {
switch(pobj.actionType) { switch(pobj.actionType) {
case "feedback": case "feedback":
var url = settings.pannongUrl() + "pas-api/v1/gsb/service/feedback"; var url = settings.pannongUrl() + "pas-api/gsb/service/feedback";
var result = await this.restPostUrl(obj, url); var result = await this.restPostUrl(obj, url);
this.logCtl.info({ this.logCtl.info({
op: "service/impl/utilsSve/utilsServiceSve.js/feedback", op: "service/impl/utilsSve/utilsServiceSve.js/feedback",
...@@ -194,7 +190,7 @@ class utils360Sve extends AppServiceBase { ...@@ -194,7 +190,7 @@ class utils360Sve extends AppServiceBase {
}); });
return result; return result;
case "accountingInfo": case "accountingInfo":
var url = settings.pannongUrl() + "pas-api/v1/gsb/service/accountingInfo"; var url = settings.pannongUrl() + "pas-api/gsb/service/accountingInfo";
var result = await this.restPostUrl(obj, url); var result = await this.restPostUrl(obj, url);
this.logCtl.info({ this.logCtl.info({
op: "service/impl/utilsSve/utilsServiceSve.js/feedback", op: "service/impl/utilsSve/utilsServiceSve.js/feedback",
...@@ -204,7 +200,7 @@ class utils360Sve extends AppServiceBase { ...@@ -204,7 +200,7 @@ class utils360Sve extends AppServiceBase {
}); });
return result; return result;
case "booksInfo": case "booksInfo":
var url = settings.pannongUrl() + "pas-api/v1/gsb/service/booksInfo"; var url = settings.pannongUrl() + "pas-api/gsb/service/booksInfo";
var result = await this.restPostUrl(obj, url); var result = await this.restPostUrl(obj, url);
this.logCtl.info({ this.logCtl.info({
op: "service/impl/utilsSve/utilsServiceSve.js/feedback", op: "service/impl/utilsSve/utilsServiceSve.js/feedback",
......
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