Commit 8a0bc749 by linboxuan

lin pannong

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