topic.js
687 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},
lastedTime: {type: Number}
}
}
}