...
|
...
|
@@ -2,6 +2,7 @@ module.exports = { |
|
|
'/api/grass/getGrassUserBaseInfo': {
|
|
|
api: 'app.grass.getGrassUserBaseInfo',
|
|
|
cache: true,
|
|
|
auth: true,
|
|
|
params: {
|
|
|
authorUid: {type: Number, require: true},
|
|
|
authorType: {type: Number, require: true}
|
...
|
...
|
@@ -9,7 +10,7 @@ module.exports = { |
|
|
},
|
|
|
'/api/grass/getGrassPubAndFavorNum': {
|
|
|
api: 'app.grass.getGrassPubAndFavorNum',
|
|
|
cache: true,
|
|
|
auth: true,
|
|
|
params: {
|
|
|
authorUid: {type: Number, require: true},
|
|
|
authorType: {type: Number, require: true}
|
...
|
...
|
@@ -17,7 +18,7 @@ module.exports = { |
|
|
},
|
|
|
'/api/grass/userPublishedArticleList': {
|
|
|
api: 'app.grass.userPublishedArticleList',
|
|
|
cache: true,
|
|
|
auth: true,
|
|
|
params: {
|
|
|
authorUid: {type: Number, require: true},
|
|
|
authorType: {type: Number, require: true},
|
...
|
...
|
@@ -27,7 +28,7 @@ module.exports = { |
|
|
},
|
|
|
'/api/grass/userFavouriteArticleList': {
|
|
|
api: 'app.grass.userFavouriteArticleList',
|
|
|
cache: true,
|
|
|
auth: true,
|
|
|
params: {
|
|
|
authorUid: {type: Number, require: true},
|
|
|
authorType: {type: Number, require: true},
|
...
|
...
|
|