15 lines
376 B
C#
15 lines
376 B
C#
|
|
using QYZH.InteractiveMagazine.IService.Dto;
|
||
|
|
|
||
|
|
namespace QYZH.InteractiveMagazine.IService;
|
||
|
|
|
||
|
|
public interface IAdminAuthService
|
||
|
|
{
|
||
|
|
Task<AdminLoginOutput> LoginAsync(AdminLoginInput input);
|
||
|
|
|
||
|
|
Task LogoutAsync(long userId);
|
||
|
|
|
||
|
|
Task<AdminUserInfoOutput> GetAdminInfoAsync(long userId);
|
||
|
|
|
||
|
|
Task ChangePasswordAsync(long userId, string oldPassword, string newPassword);
|
||
|
|
}
|