tmp
This commit is contained in:
@@ -11,14 +11,16 @@ class ApiRouter {
|
||||
setupRoutes() {
|
||||
const userRouter = new Router({ prefix: '/user' });
|
||||
|
||||
userRouter.post('/wxgetphonenumber', this.handler.wxGetPhoneNumber.bind(this.handler));
|
||||
userRouter.post('/wxsignin', this.handler.wxSignin.bind(this.handler));
|
||||
userRouter.post('/update', this.handler.updateUser.bind(this.handler));
|
||||
userRouter.post('/register', this.handler.register.bind(this.handler));
|
||||
userRouter.post('/signin', this.handler.signin.bind(this.handler));
|
||||
userRouter.post('/signout', this.handler.signout.bind(this.handler));
|
||||
userRouter.post('/userInfo', this.handler.userInfo.bind(this.handler));
|
||||
|
||||
userRouter.post('/update', this.handler.updateUser.bind(this.handler));
|
||||
userRouter.post('/list', this.handler.userList.bind(this.handler));
|
||||
|
||||
userRouter.post('/wxsignin', this.handler.wxSignin.bind(this.handler));
|
||||
userRouter.post('/wxgetphonenumber', this.handler.wxGetPhoneNumber.bind(this.handler));
|
||||
|
||||
this.router.use(userRouter.routes());
|
||||
|
||||
this.printRoutes(this.router.stack);
|
||||
|
||||
Reference in New Issue
Block a user