2026-06-05 17:57:24 +08:00
|
|
|
|
2026-06-02 14:10:43 +08:00
|
|
|
using QYZH.InteractiveMagazine.Models.Dto;
|
|
|
|
|
using QYZH.InteractiveMagazine.Models.Entity;
|
2026-06-01 17:59:23 +08:00
|
|
|
|
|
|
|
|
namespace QYZH.InteractiveMagazine.IService;
|
|
|
|
|
|
2026-06-02 14:10:43 +08:00
|
|
|
public interface IAdminAuthService : IBaseService<AdminUser>
|
2026-06-01 17:59:23 +08:00
|
|
|
{
|
|
|
|
|
Task<AdminLoginOutput> LoginAsync(AdminLoginInput input);
|
|
|
|
|
|
|
|
|
|
Task LogoutAsync(long userId);
|
|
|
|
|
|
|
|
|
|
Task<AdminUserInfoOutput> GetAdminInfoAsync(long userId);
|
|
|
|
|
|
|
|
|
|
Task ChangePasswordAsync(long userId, string oldPassword, string newPassword);
|
|
|
|
|
}
|