Commit ebc5f94c by 兰国旗

laolan

parent 5268ef8e
...@@ -16,7 +16,7 @@ class MediaaggregationSve { ...@@ -16,7 +16,7 @@ class MediaaggregationSve {
//首页轮播图 //首页轮播图
async rotationChartList(pobj) { async rotationChartList(pobj) {
if (!pobj || !pobj.actionBody) { if (!pobj) {
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) { if (!pobj) {
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) { if (!pobj) {
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) { if (!pobj) {
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) { if (!pobj) {
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) { if (!pobj) {
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) { if (!pobj) {
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.code) { if (!pobj || !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) { if (!pobj) {
return system.getResultFail(-100, "参数错误"); return system.getResultFail(-100, "参数错误");
} }
......
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