...
|
...
|
@@ -4,6 +4,7 @@ |
|
|
*/
|
|
|
|
|
|
exports.domain = require('../config/common.js').domain;
|
|
|
//exports.domain ="http://172.16.6.157:8080/yohobuy-platform-web";
|
|
|
//=================================【资讯管理】
|
|
|
exports.res = [
|
|
|
{//逛-> 资讯管理 空白页
|
...
|
...
|
@@ -30,13 +31,10 @@ exports.res = [ |
|
|
{name: 'startTime', type: 'String'},
|
|
|
{name: 'endTime', type: 'String'},
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'},
|
|
|
|
|
|
{name: 'size', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
// 资讯管理-列表操作(修改、发布、关闭、推荐、取消推荐)
|
|
|
route: '/guang/article/operation',
|
|
|
method: 'POST',
|
...
|
...
|
@@ -54,10 +52,9 @@ exports.res = [ |
|
|
{name: 'coverImageType', type: 'Number'},
|
|
|
{name: 'articleType', type: 'Number'},
|
|
|
{name: 'adsImgSize', type: 'String'},
|
|
|
{name: 'isRecommend', type: 'Number'},
|
|
|
{name: 'isRecommend', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
// 资讯管理-定时
|
...
|
...
|
@@ -70,7 +67,6 @@ exports.res = [ |
|
|
]
|
|
|
},
|
|
|
{
|
|
|
|
|
|
// 资讯管理-删除
|
|
|
route: '/guang/article/del',
|
|
|
method: 'POST',
|
...
|
...
|
@@ -99,7 +95,7 @@ exports.res = [ |
|
|
url: '/guang/article/sort/getList',
|
|
|
params: [
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'}
|
|
|
]
|
|
|
}, {
|
|
|
|
...
|
...
|
@@ -113,7 +109,7 @@ exports.res = [ |
|
|
{name: 'orderBy', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'name', type: 'String'},
|
|
|
{name: 'advertCode', type: 'String'},
|
|
|
{name: 'advertCode', type: 'String'}
|
|
|
]
|
|
|
}, {
|
|
|
|
...
|
...
|
@@ -126,7 +122,7 @@ exports.res = [ |
|
|
{name: 'orderBy', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'name', type: 'String'},
|
|
|
{name: 'advertCode', type: 'String'},
|
|
|
{name: 'advertCode', type: 'String'}
|
|
|
]
|
|
|
},
|
|
|
{
|
...
|
...
|
@@ -161,7 +157,7 @@ exports.res = [ |
|
|
{name: 'isHot', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'classifyId', type: 'Number'},
|
|
|
{name: 'tagName', type: 'String'},
|
|
|
{name: 'tagName', type: 'String'}
|
|
|
]
|
|
|
}, {
|
|
|
|
...
|
...
|
@@ -174,7 +170,7 @@ exports.res = [ |
|
|
{name: 'tagName', type: 'String'},
|
|
|
{name: 'classifyId', type: 'Number'},
|
|
|
{name: 'isHot', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'}
|
|
|
]
|
|
|
}, {
|
|
|
|
...
|
...
|
@@ -186,7 +182,7 @@ exports.res = [ |
|
|
{name: 'tagName', type: 'String'},
|
|
|
{name: 'classifyId', type: 'Number'},
|
|
|
{name: 'isHot', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
{
|
...
|
...
|
@@ -217,7 +213,7 @@ exports.res = [ |
|
|
url: '/guang/tagSort/getList',
|
|
|
params: [
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'}
|
|
|
]
|
|
|
}, { // 标签分类管理-编辑
|
|
|
route: '/guang/tags/sort/update',
|
...
|
...
|
@@ -227,7 +223,7 @@ exports.res = [ |
|
|
{name: 'id', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'orderBy', type: 'Number'},
|
|
|
{name: 'classifyName', type: 'String'},
|
|
|
{name: 'classifyName', type: 'String'}
|
|
|
]
|
|
|
}, {
|
|
|
|
...
|
...
|
@@ -238,7 +234,7 @@ exports.res = [ |
|
|
params: [
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'orderBy', type: 'Number'},
|
|
|
{name: 'classifyName', type: 'String'},
|
|
|
{name: 'classifyName', type: 'String'}
|
|
|
]
|
|
|
},
|
|
|
{
|
...
|
...
|
@@ -272,7 +268,7 @@ exports.res = [ |
|
|
{name: 'size', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'condContent', type: 'String'},
|
|
|
{name: 'condNum', type: 'Number'},
|
|
|
{name: 'condNum', type: 'Number'}
|
|
|
]
|
|
|
}, {
|
|
|
// 评论管理-审核
|
...
|
...
|
@@ -281,7 +277,7 @@ exports.res = [ |
|
|
url: '/guang/comment/audit',
|
|
|
params: [
|
|
|
{name: 'id', type: 'String'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'}
|
|
|
]
|
|
|
}, {
|
|
|
// 评论管理-获取筛选条件
|
...
|
...
|
@@ -308,7 +304,7 @@ exports.res = [ |
|
|
url: '/guang/author/getList',
|
|
|
params: [
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'}
|
|
|
]
|
|
|
}, {
|
|
|
// 作者管理-添加
|
...
|
...
|
@@ -318,7 +314,7 @@ exports.res = [ |
|
|
params: [
|
|
|
{name: 'username', type: 'String'},
|
|
|
{name: 'avatar', type: 'String'},
|
|
|
{name: 'authorDesc', type: 'String'},
|
|
|
{name: 'authorDesc', type: 'String'}
|
|
|
]
|
|
|
}, {
|
|
|
// 作者管理-编辑
|
...
|
...
|
@@ -329,7 +325,7 @@ exports.res = [ |
|
|
{name: 'uid', type: 'Number'},
|
|
|
{name: 'username', type: 'String'},
|
|
|
{name: 'avatar', type: 'String'},
|
|
|
{name: 'authorDesc', type: 'String'},
|
|
|
{name: 'authorDesc', type: 'String'}
|
|
|
]
|
|
|
},
|
|
|
{
|
...
|
...
|
@@ -366,7 +362,7 @@ exports.res = [ |
|
|
{name: 'brandType', type: 'String'},
|
|
|
{name: 'status', type: 'String'},
|
|
|
{name: 'brandId', type: 'String'},
|
|
|
{name: 'gender', type: 'String'},
|
|
|
{name: 'gender', type: 'String'}
|
|
|
]
|
|
|
}, {
|
|
|
// Plus/Star列表-添加
|
...
|
...
|
@@ -381,7 +377,7 @@ exports.res = [ |
|
|
{name: 'coverImg', type: 'String'},
|
|
|
{name: 'bannerImg', type: 'String'},
|
|
|
{name: 'bannerTitle', type: 'String'},
|
|
|
{name: 'orderBy', type: 'String'},
|
|
|
{name: 'orderBy', type: 'String'}
|
|
|
]
|
|
|
},{
|
|
|
// Plus/Star列表-修改
|
...
|
...
|
@@ -397,7 +393,7 @@ exports.res = [ |
|
|
{name: 'coverImg', type: 'String'},
|
|
|
{name: 'bannerImg', type: 'String'},
|
|
|
{name: 'bannerTitle', type: 'String'},
|
|
|
{name: 'orderBy', type: 'String'},
|
|
|
{name: 'orderBy', type: 'String'}
|
|
|
]
|
|
|
}, {
|
|
|
// Plus/Star列表-编辑
|
...
|
...
|
@@ -413,7 +409,7 @@ exports.res = [ |
|
|
{name: 'coverImg', type: 'String'},
|
|
|
{name: 'bannerImg', type: 'String'},
|
|
|
{name: 'bannerTitle', type: 'String'},
|
|
|
{name: 'orderBy', type: 'String'},
|
|
|
{name: 'orderBy', type: 'String'}
|
|
|
]
|
|
|
},{
|
|
|
|
...
|
...
|
@@ -445,7 +441,7 @@ exports.res = [ |
|
|
params: [
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'}
|
|
|
|
|
|
]
|
|
|
}, {
|
...
|
...
|
@@ -456,7 +452,7 @@ exports.res = [ |
|
|
params: [
|
|
|
{name: 'categoryName', type: 'String'},
|
|
|
{name: 'contentCode', type: 'String'},
|
|
|
{name: 'contentCodeFoot', type: 'String'},
|
|
|
{name: 'contentCodeFoot', type: 'String'}
|
|
|
]
|
|
|
}, {
|
|
|
// Plus/Star分类列表-编辑&开启&关闭
|
...
|
...
|
@@ -468,7 +464,7 @@ exports.res = [ |
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'categoryName', type: 'String'},
|
|
|
{name: 'contentCode', type: 'String'},
|
|
|
{name: 'contentCodeFoot', type: 'String'},
|
|
|
{name: 'contentCodeFoot', type: 'String'}
|
|
|
]
|
|
|
},
|
|
|
|
...
|
...
|
|