Commit e623c4ab by 王昆

gsb

parent b3c2a0fe
......@@ -11,6 +11,15 @@ class InvoicecontentCtl extends CtlBase {
this.invoicecontentSve = system.getObject("service.common.invoicecontentSve");
}
async all(pobj, pobj2, req) {
try {
return await this.invoicecontentSve.all(pobj);
} catch (e) {
console.log(e);
return system.getResultFail(500, "接口错误");
}
}
async list(pobj, pobj2, req) {
try {
return await this.invoicecontentSve.list(pobj);
......
......@@ -7,6 +7,10 @@ class InvoicecontentService extends ServiceBase {
super();
}
async all(params) {
return await this.callms("common", "invoicecontentAll", params);
}
async list(params) {
return await this.callms("common", "invoiceList", params);
}
......
......@@ -174,7 +174,7 @@ class System {
var domain = "http://39.107.234.14";
return {
// 公共服务
common: domain + ":3102" + path,
common: domain2 + ":3102" + path,
// common: "http://127.0.0.1:3102" + path,
// 商户服务
......
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