Authored by 陈峰

commit

... ... @@ -17,6 +17,7 @@ module.exports = {
},
'/api/grass/columnArticleDetail': {
api: 'app.grass.columnArticleDetail',
cache: true,
auth: true,
params: {
page: {type: Number, require: false},
... ...
module.exports = [
{
route: /grass\/article\/\d+/,
route: /grass\/article\/\d+$/,
cacheKey: '$url$params',
cache: true
},
{
route: /grass\/article\/\d+\/user/,
cacheKey: '$url$params',
cache: true
},
... ...