Commit df25f7d1 by 孙亚楠

dd

parent de74d45e
...@@ -5,6 +5,7 @@ class TestAPI extends APIBase { ...@@ -5,6 +5,7 @@ class TestAPI extends APIBase {
constructor() { constructor() {
super(); super();
this.orderSve = system.getObject("service.saas.orderSve"); this.orderSve = system.getObject("service.saas.orderSve");
this.invocieSve = system.getObject("service.saas.orderSve");
} }
async statusNotify(pobj, query, req) { async statusNotify(pobj, query, req) {
...@@ -22,6 +23,10 @@ class TestAPI extends APIBase { ...@@ -22,6 +23,10 @@ class TestAPI extends APIBase {
} else if (pobj.status == "1000000" || "2000000") { //建账信息 } else if (pobj.status == "1000000" || "2000000") { //建账信息
let res = await this.orderSve.sveBusinessmen(pobj); let res = await this.orderSve.sveBusinessmen(pobj);
return res; return res;
}else if(pobj.status="3000000"){
//发票完成推送
let res = await this.invoiceSve.saveSaasInvoice(pobj);
return res;
} }
return pobj; return pobj;
} }
......
const system = require("../../../system");
const ServiceBase = require("../../svems.base")
const settings = require("../../../../config/settings")
class SaasinvoiceService extends ServiceBase {
constructor() {
super();
}
}
module.exports = SaasinvoiceService;
\ 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