Commit 23c76fb9 by 兰国旗

laolan

parent 551d045b
......@@ -86,59 +86,5 @@ class Mediaaggregation extends APIBase {
}
return opResult;
}
/**
* 接口跳转-POST请求
* action_process 执行的流程
* action_type 执行的类型
* action_body 执行的参数
*/
// async mediAaggregationApi(pobj, qobj, req) {
// if (!pobj.actionType) {
// return system.getResult(null, "actionType参数不能为空");
// }
// var result = await this.mediAaggregationAction(pobj, pobj.actionType, req);
// return result;
// }
// async mediAaggregationAction(pobj, action_type, req) {
// var opResult = null;
// var self = this;
// pobj.xctx = req.xctx;
// switch (action_type) {
// case "test"://测试
// opResult = system.getResultSuccess("测试接口");
// break;
// case "productList"://服务列表
// opResult = await this.mediaaggregationSve.productList(pobj);
// break;
// case "rotationChartList"://首页轮播图
// opResult = await this.mediaaggregationSve.rotationChartList(pobj);
// break;
// case "needProductList"://留资表单产品
// opResult = await this.mediaaggregationSve.needProductList(pobj);
// break;
// case "popularRecommendationList"://热门推荐列表
// opResult = await this.mediaaggregationSve.popularRecommendationList(pobj);
// break;
// case "productTypeFirst"://产品分类列表
// opResult = await this.mediaaggregationSve.productTypeFirst(pobj);
// break;
// case "productTypeSecend"://产品分类列表
// opResult = await this.mediaaggregationSve.productTypeSecend(pobj);
// break;
// case "productDetail"://产品详情页
// opResult = await this.mediaaggregationSve.productDetail(pobj);
// break;
// case "bottomMenuConfig"://吸底菜单
// opResult = await this.mediaaggregationSve.bottomMenuConfig(pobj);
// break;
// default:
// opResult = system.getResult(null, "action_type参数错误");
// }
// return opResult;
// }
}
module.exports = Mediaaggregation;
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