topic.js
718 Bytes
module.exports = {
'/api/grass/getGrassTopicSimpleInfo': {
api: 'app.grass.getGrassTopicSimpleInfo',
auth: true,
params: {
topicId: {type: Number, require: true}
}
},
'/api/grass/topicRelatedArticles': {
api: 'app.grass.topicRelatedArticles',
auth: true,
params: {
topicId: {type: Number, require: true},
limit: {type: Number},
page: {type: Number},
type: {type: Number},
lastedTime: {type: Number}
}
},
'/api/grass/getGrassTopicList': {
api: 'app.grass.getGrassTopicList',
params: {
page: {type: Number, require: true},
limit: {type: Number},
filter: {type: String},
lastedTime: {type: Number}
}
}
};