|
@ -5,4 +5,7 @@ const user = require('../../controllers/user'); |
|
|
module.exports = function (app, router, opts) { |
|
|
module.exports = function (app, router, opts) { |
|
|
app.fs.api.logAttr['GET/user/:userId/message'] = { content: '用户信息', visible: true }; |
|
|
app.fs.api.logAttr['GET/user/:userId/message'] = { content: '用户信息', visible: true }; |
|
|
router.get('/user/:userId/message', user.message); |
|
|
router.get('/user/:userId/message', user.message); |
|
|
|
|
|
|
|
|
|
|
|
app.fs.api.logAttr['GET/user/accord'] = { content: '同步用户信息', visible: true }; |
|
|
|
|
|
router.put('/user/accord', user.accord); |
|
|
}; |
|
|
}; |
|
|