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.

31 lines
694 B

1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
  1. package com.example.demo.service;
  2. import com.example.demo.domain.entity.Admin;
  3. import com.example.demo.domain.vo.Password;
  4. import com.example.demo.domain.vo.Result;
  5. /**
  6. * @program: GOLD
  7. * @ClassName adminService
  8. * @description:
  9. * @author: huangqizhen
  10. * @create: 202507-01 10:40
  11. * @Version 1.0
  12. **/
  13. public interface AdminService {
  14. Admin login(Admin admin)throws Exception;
  15. //获取用户ID
  16. String getId(String account);
  17. String getName(String account);
  18. //更新密码
  19. Result updatePassword(Password password);
  20. //重置密码
  21. Result resetPassword(Password password);
  22. //获取当前登录的管理员账号
  23. String getCurrentAdminAccount();
  24. }