上门预约后台管理系统
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.

15 lines
338 B

  1. import UserService from '../service/UserService';
  2. class UserController {
  3. private service: UserService = new UserService();
  4. login = async (ctx) => {
  5. ctx.body = await this.service.login();
  6. };
  7. getUserInfoById = async (ctx) => {
  8. ctx.body = await this.service.getUserInfoById();
  9. };
  10. }
  11. export default new UserController();