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
31 lines
694 B
package com.example.demo.service;
|
|
|
|
import com.example.demo.domain.entity.Admin;
|
|
import com.example.demo.domain.vo.Password;
|
|
import com.example.demo.domain.vo.Result;
|
|
|
|
/**
|
|
* @program: GOLD
|
|
* @ClassName adminService
|
|
* @description:
|
|
* @author: huangqizhen
|
|
* @create: 2025−07-01 10:40
|
|
* @Version 1.0
|
|
**/
|
|
public interface AdminService {
|
|
Admin login(Admin admin)throws Exception;
|
|
|
|
//获取用户ID
|
|
String getId(String account);
|
|
String getName(String account);
|
|
|
|
//更新密码
|
|
Result updatePassword(Password password);
|
|
|
|
//重置密码
|
|
Result resetPassword(Password password);
|
|
|
|
//获取当前登录的管理员账号
|
|
String getCurrentAdminAccount();
|
|
}
|
|
|