Commit 5268ef8e by 兰国旗

laolan

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