You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
407 B
11 lines
407 B
'use strict';
|
|
|
|
const user = require('../../controllers/user');
|
|
|
|
module.exports = function (app, router, opts) {
|
|
app.fs.api.logAttr['GET/user/:userId/message'] = { content: '用户信息', visible: true };
|
|
router.get('/user/:userId/message', user.message);
|
|
|
|
app.fs.api.logAttr['GET/user/accord'] = { content: '同步用户信息', visible: true };
|
|
router.put('/user/accord', user.accord);
|
|
};
|
|
|