...
|
...
|
@@ -341,8 +341,151 @@ exports.res = [ |
|
|
]
|
|
|
},
|
|
|
|
|
|
//=================================【Plus/Star列表】
|
|
|
{//逛->Plus/Star列表 空白页
|
|
|
route: '/guang/plustar/index',
|
|
|
method: 'GET',
|
|
|
view: 'pages/guang/plusStarManager',
|
|
|
src: '/guang/plusStarManager',
|
|
|
data: {
|
|
|
iscreate: true
|
|
|
}
|
|
|
},{
|
|
|
|
|
|
// Plus/Star 列表数据
|
|
|
route: '/guang/plustar/getList',
|
|
|
method: 'POST',
|
|
|
url: '/guang/plustar/getList',
|
|
|
params: [
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'},
|
|
|
{name: 'brandType', type: 'String'},
|
|
|
{name: 'status', type: 'String'},
|
|
|
{name: 'brandId', type: 'String'},
|
|
|
{name: 'gender', type: 'String'},
|
|
|
]
|
|
|
}, {
|
|
|
// Plus/Star列表-添加
|
|
|
route: '/guang/plustar/addPlustar',
|
|
|
method: 'POST',
|
|
|
url: '/guang/plustar/addPlustar',
|
|
|
params: [
|
|
|
{name: 'brandType', type: 'String'},
|
|
|
{name: 'status', type: 'String'},
|
|
|
{name: 'brandId', type: 'String'},
|
|
|
{name: 'gender', type: 'String'},
|
|
|
{name: 'coverImg', type: 'String'},
|
|
|
{name: 'bannerImg', type: 'String'},
|
|
|
{name: 'bannerTitle', type: 'String'},
|
|
|
{name: 'orderBy', type: 'String'},
|
|
|
]
|
|
|
}, {
|
|
|
// Plus/Star列表-编辑
|
|
|
route: '/guang/plustar/getDetail',
|
|
|
method: 'POST',
|
|
|
url: '/guang/plustar/getDetail',
|
|
|
params: [
|
|
|
{name: 'id', type: 'Number'},
|
|
|
{name: 'brandType', type: 'String'},
|
|
|
{name: 'status', type: 'String'},
|
|
|
{name: 'brandId', type: 'String'},
|
|
|
{name: 'gender', type: 'String'},
|
|
|
{name: 'coverImg', type: 'String'},
|
|
|
{name: 'bannerImg', type: 'String'},
|
|
|
{name: 'bannerTitle', type: 'String'},
|
|
|
{name: 'orderBy', type: 'String'},
|
|
|
]
|
|
|
},{
|
|
|
|
|
|
// Plus/Star列表-获取详情
|
|
|
route: '/guang/plustar/delPlustar',
|
|
|
method: 'POST',
|
|
|
url: '/guang/plustar/delPlustar',
|
|
|
params: [
|
|
|
{name: 'id', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
|
|
|
// Plus/Star列表-删除
|
|
|
route: '/guang/plustar/delPlustar',
|
|
|
method: 'POST',
|
|
|
url: '/guang/plustar/delPlustar',
|
|
|
params: [
|
|
|
{name: 'id', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
|
|
|
//=================================【Plus/Star分类】
|
|
|
{//逛->Plus/Star分类 空白页
|
|
|
route: '/guang/plustarcategory/index',
|
|
|
method: 'GET',
|
|
|
view: 'pages/guang/plusStarCategory',
|
|
|
src: '/guang/plusStarCategory',
|
|
|
data: {
|
|
|
iscreate: true
|
|
|
}
|
|
|
},
|
|
|
|
|
|
//=================================【品牌关注】
|
|
|
{//逛->品牌关注 空白页
|
|
|
route: '/guang/relationship/index',
|
|
|
method: 'GET',
|
|
|
view: 'pages/guang/brandConcern',
|
|
|
src: '/guang/brandConcern',
|
|
|
data: {
|
|
|
iscreate: true
|
|
|
}
|
|
|
},{
|
|
|
|
|
|
// 品牌关注 列表数据
|
|
|
route: '/guang/relationship/getList',
|
|
|
method: 'POST',
|
|
|
url: '/guang/relationship/getList',
|
|
|
params: [
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'},
|
|
|
{name: 'brandType', type: 'String'},
|
|
|
{name: 'status', type: 'String'},
|
|
|
{name: 'brandId', type: 'String'},
|
|
|
{name: 'gender', type: 'String'},
|
|
|
]
|
|
|
}, {
|
|
|
// 品牌关注-添加
|
|
|
route: '/guang/relationship/addRel',
|
|
|
method: 'POST',
|
|
|
url: '/guang/relationship/addRel',
|
|
|
params: [
|
|
|
{name: 'brandType', type: 'Number'},
|
|
|
{name: 'activityName', type: 'String'},
|
|
|
{name: 'brandId', type: 'String'},
|
|
|
{name: 'discount', type: 'Number'},
|
|
|
{name: 'activityImg', type: 'String'},
|
|
|
]
|
|
|
}, {
|
|
|
// 品牌关注列表-编辑
|
|
|
route: '/guang/relationship/updateRel',
|
|
|
method: 'POST',
|
|
|
url: '/guang/relationship/updateRel',
|
|
|
params: [
|
|
|
{name: 'id', type: 'Number'},
|
|
|
{name: 'brandType', type: 'Number'},
|
|
|
{name: 'activityName', type: 'String'},
|
|
|
{name: 'brandId', type: 'String'},
|
|
|
{name: 'discount', type: 'Number'},
|
|
|
{name: 'activityImg', type: 'String'},
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
|
|
|
// 品牌关注列表-删除
|
|
|
route: '/guang/relationship/delRel',
|
|
|
method: 'POST',
|
|
|
url: '/guang/relationship/delRel',
|
|
|
params: [
|
|
|
{name: 'id', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
//================================= [下拉框调用的接口]
|
|
|
{// 作者
|
|
|
route: '/guang/article/getAuthorList',
|
...
|
...
|
@@ -370,6 +513,15 @@ exports.res = [ |
|
|
|
|
|
},
|
|
|
|
|
|
{// plus star 频道
|
|
|
route: '/guang/plustarcategory/getCategoryNames',
|
|
|
method: 'POST',
|
|
|
url: '/guang/plustarcategory/getCategoryNames',
|
|
|
params: [
|
|
|
{name: 'status', type: 'Number'},
|
|
|
]
|
|
|
|
|
|
},
|
|
|
|
|
|
];
|
|
|
|
...
|
...
|
|