Commit 23b6bfd5 by linboxuan

lin add .package-lock.json

parent b49dc714
...@@ -13,6 +13,15 @@ class StatisticsCtl extends CtlBase { ...@@ -13,6 +13,15 @@ class StatisticsCtl extends CtlBase {
return system.getResult(null, err.message) return system.getResult(null, err.message)
} }
} }
// 获取 渠道信息
async getAllService(pobj, qobj, req) {
try {
const rs = await this.service.getAllService(pobj);
return system.getResult(rs);
} catch (err) {
return system.getResult(null, err.message)
}
}
// 获取 产品信息 // 获取 产品信息
async getAllProducts(pobj, qobj, req) { async getAllProducts(pobj, qobj, req) {
......
...@@ -4,6 +4,9 @@ class StatisticsService { ...@@ -4,6 +4,9 @@ class StatisticsService {
async getAllChannels(pobj) { async getAllChannels(pobj) {
return ToQiFuTong.getAllChannels(); return ToQiFuTong.getAllChannels();
} }
async getAllService(pobj) {
return ToQiFuTong.getAllService();
}
async getAllProducts(pobj) { async getAllProducts(pobj) {
return ToQiFuTong.getAllProducts(); return ToQiFuTong.getAllProducts();
} }
......
...@@ -90,6 +90,14 @@ class BaseClient { ...@@ -90,6 +90,14 @@ class BaseClient {
}); });
return data; return data;
} }
async getAllService() {
const data = await this.pushQiFuTong('/web/auth/accessAuth/springBoard', {
"actionType": "getAllService",
"actionBody": {
}
});
return data;
}
async getAllProducts() { async getAllProducts() {
const data = await this.pushQiFuTong('/web/action/product/springBoard', { const data = await this.pushQiFuTong('/web/action/product/springBoard', {
"actionType": "getAllProducts", "actionType": "getAllProducts",
......
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