Commit 5268ef8e by 兰国旗

laolan

parent b2bc534c
......@@ -7,7 +7,7 @@ class MediaaggregationSve {
}
//服务列表
async productList(pobj) {
if (!pobj || !pobj.actionBody || !pobj.actionBody.company_id || !pobj.actionBody.product_type_code) {
if (!pobj || !pobj.actionBody || !pobj.actionBody.product_type_code) {
return system.getResultFail(-100, "参数错误");
}
var res = await mediaaggregationDao.productList(pobj);
......@@ -16,7 +16,7 @@ class MediaaggregationSve {
//首页轮播图
async rotationChartList(pobj) {
if (!pobj || !pobj.actionBody || !pobj.actionBody.company_id) {
if (!pobj || !pobj.actionBody) {
return system.getResultFail(-100, "参数错误");
}
......@@ -26,7 +26,7 @@ class MediaaggregationSve {
//列表头图
async tablePicList(pobj) {
if (!pobj || !pobj.actionBody || !pobj.actionBody.company_id) {
if (!pobj || !pobj.actionBody) {
return system.getResultFail(-100, "参数错误");
}
......@@ -35,7 +35,7 @@ class MediaaggregationSve {
}
//留资表单产品
async needProductList(pobj) {
if (!pobj || !pobj.actionBody || !pobj.actionBody.company_id) {
if (!pobj || !pobj.actionBody) {
return system.getResultFail(-100, "参数错误");
}
......@@ -46,7 +46,7 @@ class MediaaggregationSve {
//热门推荐
async popularRecommendationList(pobj) {
if (!pobj || !pobj.actionBody || !pobj.actionBody.company_id) {
if (!pobj || !pobj.actionBody) {
return system.getResultFail(-100, "参数错误");
}
......@@ -58,7 +58,7 @@ class MediaaggregationSve {
//产品分类一类
async productTypeFirst(pobj) {
if (!pobj || !pobj.actionBody || !pobj.actionBody.company_id) {
if (!pobj || !pobj.actionBody) {
return system.getResultFail(-100, "参数错误");
}
......@@ -68,7 +68,7 @@ class MediaaggregationSve {
//产品分类二类
async productTypeSecend(pobj) {
if (!pobj || !pobj.actionBody || !pobj.actionBody.p_product_type_code || !pobj.actionBody.company_id) {
if (!pobj || !pobj.actionBody || !pobj.actionBody.p_product_type_code) {
return system.getResultFail(-100, "参数错误");
}
......@@ -77,7 +77,7 @@ class MediaaggregationSve {
}
//产品详情
async productDetail(pobj) {
if (!pobj || !pobj.actionBody || !pobj.actionBody.code || !pobj.actionBody.company_id) {
if (!pobj || !pobj.actionBody || !pobj.actionBody.code) {
return system.getResultFail(-100, "参数错误");
}
......@@ -87,7 +87,7 @@ class MediaaggregationSve {
//吸底菜单
async bottomMenuConfig(pobj) {
if (!pobj || !pobj.actionBody || !pobj.actionBody.company_id) {
if (!pobj || !pobj.actionBody) {
return system.getResultFail(-100, "参数错误");
}
......@@ -97,7 +97,7 @@ class MediaaggregationSve {
//周期产品
async cycleProduct(pobj) {
if (!pobj || !pobj.actionBody || !pobj.actionBody.company_id) {
if (!pobj || !pobj.actionBody) {
return system.getResultFail(-100, "参数错误");
}
......@@ -108,7 +108,7 @@ class MediaaggregationSve {
//二级留资页
async secondLevelNeedConfig(pobj) {
if (!pobj || !pobj.actionBody || !pobj.actionBody.company_id || !pobj.actionBody.code) {
if (!pobj || !pobj.actionBody || !pobj.actionBody.code) {
return system.getResultFail(-100, "参数错误");
}
......@@ -118,7 +118,7 @@ class MediaaggregationSve {
//二级产品资质选项
async clueMaintenance(pobj) {
if (!pobj || !pobj.actionBody || !pobj.actionBody.company_id) {
if (!pobj || !pobj.actionBody) {
return system.getResultFail(-100, "参数错误");
}
......
......@@ -16,7 +16,7 @@ var settings = {
salt: "%iatpD1gcxz7iF#B",
defaultpwd: "gsb2020",
basepath: path.normalize(path.join(__dirname, '../..')),
port: process.env.NODE_PORT || 8002,
port: process.env.NODE_PORT || 8003,
logindex: "center_manage",
appname: "gsb_marketplat",
kongurl: function () { if (this.env == "dev") { var localsettings = require("./localsettings"); return localsettings.kongurl; } else { return ENVINPUT.KONG_ADMIAN; } },
......
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