|
|
/**
|
|
|
* Created by wangqianjun on 16/3/22.
|
|
|
* Interface for Guang Model
|
|
|
*/
|
|
|
|
|
|
exports.domain = require('../config/common.js').domain;
|
|
|
//exports.domain ="http://172.16.6.157:8080/yohobuy-platform-web";
|
|
|
//=================================【资讯管理】
|
|
|
exports.res = [
|
|
|
{//逛-> 资讯管理 空白页
|
|
|
route: '/guang/article/index',
|
|
|
method: 'GET',
|
|
|
view: 'pages/guang/infoManager',
|
|
|
src: '/guang/infoManager',
|
|
|
data: {
|
|
|
iscreate: true
|
|
|
}
|
|
|
}, {
|
|
|
|
|
|
// 资讯管理列表数据
|
|
|
route: '/guang/article/list',
|
|
|
method: 'POST',
|
|
|
url: '/guang/article/getList',
|
|
|
params: [
|
|
|
{name: 'articleTitle', type: 'String'},
|
|
|
{name: 'articleGender', type: 'String'},
|
|
|
{name: 'authorId', type: 'Number'},
|
|
|
{name: 'maxSortId', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'orderBy', type: 'String'},
|
|
|
{name: 'startTime', type: 'String'},
|
|
|
{name: 'endTime', type: 'String'},
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
// 资讯管理-列表操作(修改、发布、关闭、推荐、取消推荐)
|
|
|
route: '/guang/article/operation',
|
|
|
method: 'POST',
|
|
|
url: '/guang/article/updateArticle',
|
|
|
params: [
|
|
|
{name: 'id', type: 'Number'},
|
|
|
{name: 'articleTitle', type: 'String'},
|
|
|
{name: 'articleGender', type: 'String'},
|
|
|
{name: 'authorId', type: 'Number'},
|
|
|
{name: 'maxSortId', type: 'Number'},
|
|
|
{name: 'minSortId', type: 'Number'},
|
|
|
{name: 'articleSummary', type: 'String'},
|
|
|
{name: 'coverImage', type: 'String'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'coverImageType', type: 'Number'},
|
|
|
{name: 'articleType', type: 'Number'},
|
|
|
{name: 'adsImgSize', type: 'String'},
|
|
|
{name: 'isRecommend', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
|
|
|
// 资讯管理-定时
|
|
|
route: '/guang/article/timmer',
|
|
|
method: 'POST',
|
|
|
url: '/guang/article/timePublish',
|
|
|
params: [
|
|
|
{name: 'id', type: 'Number'},
|
|
|
{name: 'publishTime', type: 'String'}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
// 资讯管理-删除
|
|
|
route: '/guang/article/del',
|
|
|
method: 'POST',
|
|
|
url: '/guang/article/delArticle',
|
|
|
params: [
|
|
|
{name: 'id', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
|
|
|
|
|
|
//=================================【文章分类管理】
|
|
|
|
|
|
{//逛-> 文章分类管理 空白页
|
|
|
route: '/guang/article/sortindex',
|
|
|
method: 'GET',
|
|
|
view: 'pages/guang/articleCategoryManager',
|
|
|
src: '/guang/articleCategoryManager',
|
|
|
data: {
|
|
|
iscreate: true
|
|
|
}
|
|
|
}, {
|
|
|
|
|
|
// 文章分类管理列表数据
|
|
|
route: '/guang/article/categoryist',
|
|
|
method: 'POST',
|
|
|
url: '/guang/article/sort/getList',
|
|
|
params: [
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'}
|
|
|
]
|
|
|
}, {
|
|
|
|
|
|
// 文章分类管理-编辑
|
|
|
route: '/guang/article/sort/update',
|
|
|
method: 'POST',
|
|
|
url: '/guang/article/sort/updateSort',
|
|
|
params: [
|
|
|
{name: 'id', type: 'Number'},
|
|
|
{name: 'parentId', type: 'Number'},
|
|
|
{name: 'orderBy', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'name', type: 'String'},
|
|
|
{name: 'advertCode', type: 'String'}
|
|
|
]
|
|
|
}, {
|
|
|
|
|
|
// 文章分类管理-添加
|
|
|
route: '/guang/article/sort/add',
|
|
|
method: 'POST',
|
|
|
url: '/guang/article/sort/addSort',
|
|
|
params: [
|
|
|
{name: 'parentId', type: 'Number'},
|
|
|
{name: 'orderBy', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'name', type: 'String'},
|
|
|
{name: 'advertCode', type: 'String'}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
|
|
|
// 文章分类管理-删除
|
|
|
route: '/guang/article/sort/del',
|
|
|
method: 'POST',
|
|
|
url: '/guang/article/sort/delSort',
|
|
|
params: [
|
|
|
{name: 'id', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
|
|
|
//=================================【标签管理】
|
|
|
{//逛-> 标签管理 空白页
|
|
|
route: '/guang/tags/index',
|
|
|
method: 'GET',
|
|
|
view: 'pages/guang/tagManager',
|
|
|
src: '/guang/tagManager',
|
|
|
data: {
|
|
|
iscreate: true
|
|
|
}
|
|
|
},{
|
|
|
|
|
|
// 标签管理列表数据
|
|
|
route: '/guang/tags/getList',
|
|
|
method: 'POST',
|
|
|
url: '/guang/tags/getList',
|
|
|
params: [
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'},
|
|
|
{name: 'isHot', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'classifyId', type: 'Number'},
|
|
|
{name: 'tagName', type: 'String'}
|
|
|
]
|
|
|
}, {
|
|
|
|
|
|
// 标签管理-编辑
|
|
|
route: '/guang/tags/updateTag',
|
|
|
method: 'POST',
|
|
|
url: '/guang/tags/updateTag',
|
|
|
params: [
|
|
|
{name: 'id', type: 'Number'},
|
|
|
{name: 'tagName', type: 'String'},
|
|
|
{name: 'classifyId', type: 'Number'},
|
|
|
{name: 'isHot', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'}
|
|
|
]
|
|
|
}, {
|
|
|
|
|
|
// 标签管理-添加
|
|
|
route: '/guang/tags/addTag',
|
|
|
method: 'POST',
|
|
|
url: '/guang/tags/addTag',
|
|
|
params: [
|
|
|
{name: 'tagName', type: 'String'},
|
|
|
{name: 'classifyId', type: 'Number'},
|
|
|
{name: 'isHot', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
|
|
|
// 标签管理-删除
|
|
|
route: '/guang/tags/delTag',
|
|
|
method: 'POST',
|
|
|
url: '/guang/tags/delTag',
|
|
|
params: [
|
|
|
{name: 'id', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
|
|
|
//=================================【标签分类管理】
|
|
|
{//逛-> 标签分类管理 空白页
|
|
|
route: '/guang/tags/sort',
|
|
|
method: 'GET',
|
|
|
view: 'pages/guang/tagCategoryManager',
|
|
|
src: '/guang/tagCategoryManager',
|
|
|
data: {
|
|
|
iscreate: true
|
|
|
}
|
|
|
}, {
|
|
|
|
|
|
// 标签分类管理列表数据
|
|
|
route: '/guang/tags/sort/list',
|
|
|
method: 'POST',
|
|
|
url: '/guang/tagSort/getList',
|
|
|
params: [
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'}
|
|
|
]
|
|
|
}, { // 标签分类管理-编辑
|
|
|
route: '/guang/tags/sort/update',
|
|
|
method: 'POST',
|
|
|
url: '/guang/tagSort/updateSort',
|
|
|
params: [
|
|
|
{name: 'id', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'orderBy', type: 'Number'},
|
|
|
{name: 'classifyName', type: 'String'}
|
|
|
]
|
|
|
}, {
|
|
|
|
|
|
// 标签分类管理-添加
|
|
|
route: '/guang/tags/sort/add',
|
|
|
method: 'POST',
|
|
|
url: '/guang/tagSort/addSort',
|
|
|
params: [
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'orderBy', type: 'Number'},
|
|
|
{name: 'classifyName', type: 'String'}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
|
|
|
// 标签分类管理-删除
|
|
|
route: '/guang/tags/sort/del',
|
|
|
method: 'POST',
|
|
|
url: '/guang/tagSort/delSort',
|
|
|
params: [
|
|
|
{name: 'id', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
|
|
|
//=================================【评论管理】
|
|
|
{//逛-> 评论管理 空白页
|
|
|
route: '/guang/comments/index',
|
|
|
method: 'GET',
|
|
|
view: 'pages/guang/commentManager',
|
|
|
src: '/guang/commentManager',
|
|
|
data: {
|
|
|
iscreate: true
|
|
|
}
|
|
|
}, {
|
|
|
|
|
|
// 评论管理列表数据
|
|
|
route: '/guang/comment/getList',
|
|
|
method: 'POST',
|
|
|
url: '/guang/comment/getList',
|
|
|
params: [
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'condContent', type: 'String'},
|
|
|
{name: 'condNum', type: 'Number'}
|
|
|
]
|
|
|
}, {
|
|
|
// 评论管理-审核
|
|
|
route: '/guang/comment/audit',
|
|
|
method: 'POST',
|
|
|
url: '/guang/comment/audit',
|
|
|
params: [
|
|
|
{name: 'id', type: 'String'},
|
|
|
{name: 'status', type: 'Number'}
|
|
|
]
|
|
|
}, {
|
|
|
// 评论管理-获取筛选条件
|
|
|
route: '/guang/comment/getItems',
|
|
|
method: 'POST',
|
|
|
url: '/guang/comment/getItems',
|
|
|
|
|
|
},
|
|
|
|
|
|
//=================================【作者管理】
|
|
|
{//逛-> 作者管理 空白页
|
|
|
route: '/guang/author/index',
|
|
|
method: 'GET',
|
|
|
view: 'pages/guang/authorManager',
|
|
|
src: '/guang/authorManager',
|
|
|
data: {
|
|
|
iscreate: true
|
|
|
}
|
|
|
}, {
|
|
|
|
|
|
// 作者管理列表数据
|
|
|
route: '/guang/author/getList',
|
|
|
method: 'POST',
|
|
|
url: '/guang/author/getList',
|
|
|
params: [
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'}
|
|
|
]
|
|
|
}, {
|
|
|
// 作者管理-添加
|
|
|
route: '/guang/author/addAuthor',
|
|
|
method: 'POST',
|
|
|
url: '/guang/author/addAuthor',
|
|
|
params: [
|
|
|
{name: 'username', type: 'String'},
|
|
|
{name: 'avatar', type: 'String'},
|
|
|
{name: 'authorDesc', type: 'String'}
|
|
|
]
|
|
|
}, {
|
|
|
// 作者管理-编辑
|
|
|
route: '/guang/author/updateAuthor',
|
|
|
method: 'POST',
|
|
|
url: '/guang/author/updateAuthor',
|
|
|
params: [
|
|
|
{name: 'uid', type: 'Number'},
|
|
|
{name: 'username', type: 'String'},
|
|
|
{name: 'avatar', type: 'String'},
|
|
|
{name: 'authorDesc', type: 'String'}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
|
|
|
// 作者管理-删除
|
|
|
route: '/guang/author/delAuthor',
|
|
|
method: 'POST',
|
|
|
url: '/guang/author/delAuthor',
|
|
|
params: [
|
|
|
{name: 'uid', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
|
|
|
//=================================【Plus/Star列表】
|
|
|
{//逛->Plus/Star列表 空白页
|
|
|
route: '/guang/plustar/index',
|
|
|
method: 'GET',
|
|
|
view: 'pages/guang/plusStarManager',
|
|
|
src: '/guang/plusStarManager',
|
|
|
//view: 'pages/guang/plusStarCategory',
|
|
|
//src: '/guang/plusStarCategory',
|
|
|
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/updatePlustar',
|
|
|
method: 'POST',
|
|
|
url: '/guang/plustar/updatePlustar',
|
|
|
params: [
|
|
|
{name: 'id', type: 'String'},
|
|
|
{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分类】
|
|
|
{//逛->Plus/Star分类 空白页
|
|
|
route: '/guang/plustarcategory/index',
|
|
|
method: 'GET',
|
|
|
view: 'pages/guang/plusStarCategory',
|
|
|
src: '/guang/plusStarCategory',
|
|
|
data: {
|
|
|
iscreate: true
|
|
|
}
|
|
|
},{
|
|
|
|
|
|
// Plus/Star分类 列表数据
|
|
|
route: '/guang/plustarcategory/getList',
|
|
|
method: 'POST',
|
|
|
url: '/guang/plustarcategory/getList',
|
|
|
params: [
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'}
|
|
|
|
|
|
]
|
|
|
}, {
|
|
|
// Plus/Star分类列表-添加
|
|
|
route: '/guang/plustarcategory/addCategory',
|
|
|
method: 'POST',
|
|
|
url: '/guang/plustarcategory/addCategory',
|
|
|
params: [
|
|
|
{name: 'categoryName', type: 'String'},
|
|
|
{name: 'contentCode', type: 'String'},
|
|
|
{name: 'contentCodeFoot', type: 'String'}
|
|
|
]
|
|
|
}, {
|
|
|
// Plus/Star分类列表-编辑&开启&关闭
|
|
|
route: '/guang/plustarcategory/updateCategory',
|
|
|
method: 'POST',
|
|
|
url: '/guang/plustarcategory/updateCategory',
|
|
|
params: [
|
|
|
{name: 'id', type: 'Number'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'categoryName', type: 'String'},
|
|
|
{name: 'contentCode', type: 'String'},
|
|
|
{name: 'contentCodeFoot', type: 'String'}
|
|
|
]
|
|
|
},
|
|
|
|
|
|
//=================================【品牌关注】
|
|
|
{//逛->品牌关注 空白页
|
|
|
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',
|
|
|
method: 'POST',
|
|
|
url: '/guang/article/getAuthorList',
|
|
|
params: [
|
|
|
{name: 'idName', type: 'String'},
|
|
|
]
|
|
|
},
|
|
|
|
|
|
{// 所有分类
|
|
|
route: '/guang/article/getSortList',
|
|
|
method: 'POST',
|
|
|
url: '/guang/article/getSortList',
|
|
|
|
|
|
},
|
|
|
|
|
|
{// 根据是否启用获取标签分类列表
|
|
|
route: '/guang/tagSort/getTagItems',
|
|
|
method: 'POST',
|
|
|
url: '/guang/tagSort/getTagItems',
|
|
|
params: [
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'idName', type: 'String'}
|
|
|
|
|
|
]
|
|
|
|
|
|
},
|
|
|
|
|
|
{// plus star 频道
|
|
|
route: '/guang/plustarcategory/getCategoryNames',
|
|
|
method: 'POST',
|
|
|
url: '/guang/plustarcategory/getCategoryNames',
|
|
|
params: [
|
|
|
{name: 'status', type: 'Number'},
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
route:'/guang/article/contentAdd',
|
|
|
method:'GET',
|
|
|
view:'pages/guang/contentEdit',
|
|
|
src:'/guang/contentEdit',
|
|
|
data:{
|
|
|
action:"/guang/article/addArticle",
|
|
|
pageTitle:"添加文章"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
route: "/guang/article/addArticle",
|
|
|
method:"POST",
|
|
|
url:"/guang/article/addArticle",
|
|
|
params:[
|
|
|
{name:"articleTitle",type:"String"},
|
|
|
{name:"articleGender",type:"String"},
|
|
|
{name:"authorId",type:"Number"},
|
|
|
{name:"maxSortId",type:"Number"},
|
|
|
{name:"minSortId",type:"Number"},
|
|
|
{name:"articleSummary",type:"String"},
|
|
|
{name:"coverImage",type:"String"},
|
|
|
{name:"coverImageType",type:"Number"},
|
|
|
{name:"articleType",type:"Number"},
|
|
|
{name:"adsImgSize",type:"String"},
|
|
|
{name:"url",type:"String"},
|
|
|
{name:"contentData",type:"String"},
|
|
|
{name:"brands",type:"String"},
|
|
|
{name:"tag",type:"String"}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
route: "/guang/article/updateArticle",
|
|
|
method:"POST",
|
|
|
url:"/guang/article/updateArticle",
|
|
|
params:[
|
|
|
{name:"id",type:"Number"},
|
|
|
{name:"articleTitle",type:"String"},
|
|
|
{name:"articleGender",type:"String"},
|
|
|
{name:"authorId",type:"Number"},
|
|
|
{name:"maxSortId",type:"Number"},
|
|
|
{name:"minSortId",type:"Number"},
|
|
|
{name:"articleSummary",type:"String"},
|
|
|
{name:"coverImage",type:"String"},
|
|
|
{name:"coverImageType",type:"Number"},
|
|
|
{name:"articleType",type:"Number"},
|
|
|
{name:"adsImgSize",type:"String"},
|
|
|
{name:"url",type:"String"},
|
|
|
{name:"contentData",type:"String"},
|
|
|
{name:"brands",type:"String"},
|
|
|
{name:"tag",type:"String"}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
route:'/guang/article/contentEdit/:id',
|
|
|
method:'GET',
|
|
|
view:'pages/guang/contentEdit',
|
|
|
src:'/guang/contentEdit',
|
|
|
data:{
|
|
|
action:"/guang/article/updateArticle",
|
|
|
pageTitle:"修改文章"
|
|
|
},
|
|
|
params:[
|
|
|
{name:"id",type:"Number"}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
route:'/guang/article/getDetail',
|
|
|
method:'POST',
|
|
|
url:'/guang/article/getDetail',
|
|
|
params:[
|
|
|
{name:"id",type:"Number"}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
route:'/guang/tags/getTags',
|
|
|
method:'POST',
|
|
|
url:'/guang/tags/getTags'
|
|
|
}
|
|
|
];
|
|
|
|
|
|
|
...
|
...
|
|