Commit f8584396 by 王昆

gsb

parent f8395f84
...@@ -20,6 +20,15 @@ class DeliverCtl extends CtlBase { ...@@ -20,6 +20,15 @@ class DeliverCtl extends CtlBase {
} }
} }
async channelDics(pobj, pobj2, req) {
try {
return await this.deliverSve.channelDics(pobj);
} catch (e) {
console.log(e);
return system.getResultFail(500, "接口错误");
}
}
async page(pobj, pobj2, req) { async page(pobj, pobj2, req) {
try { try {
let rs = await this.deliverSve.page(pobj); let rs = await this.deliverSve.page(pobj);
......
...@@ -15,6 +15,12 @@ class DeliverService extends ServiceBase { ...@@ -15,6 +15,12 @@ class DeliverService extends ServiceBase {
return rs; return rs;
} }
async channelDics(params) {
var rs = await this.callms("common", "channelDics", params);
await this.doPercent(rs.data);
return rs;
}
async page(params) { async page(params) {
var rs = await this.callms("common", "deliverPage", params); var rs = await this.callms("common", "deliverPage", params);
await this.doPercent(rs.data.rows); await this.doPercent(rs.data.rows);
......
...@@ -191,7 +191,7 @@ class System { ...@@ -191,7 +191,7 @@ class System {
let dev = "http://39.107.234.14"; let dev = "http://39.107.234.14";
return { return {
// 公共服务 // 公共服务
common: dev + ":3102" + path, common: local + ":3102" + path,
// 商户服务 // 商户服务
merchant: dev + ":3101" + path, merchant: dev + ":3101" + 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