From 0fd4853ab2cf6e8ff6775803f80c4970c484a529 Mon Sep 17 00:00:00 2001 From: lizijie <lzjiiie@163.com> Date: Thu, 18 Mar 2021 15:37:01 +0800 Subject: [PATCH] 角色菜单配置 --- screen-manage/src/main/java/com/moral/api/service/ManageAccountService.java | 53 ++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 42 insertions(+), 11 deletions(-) diff --git a/screen-manage/src/main/java/com/moral/api/service/ManageAccountService.java b/screen-manage/src/main/java/com/moral/api/service/ManageAccountService.java index 875edd7..471d22d 100644 --- a/screen-manage/src/main/java/com/moral/api/service/ManageAccountService.java +++ b/screen-manage/src/main/java/com/moral/api/service/ManageAccountService.java @@ -2,8 +2,12 @@ import com.moral.api.entity.ManageAccount; import com.baomidou.mybatisplus.extension.service.IService; - -import java.util.Map; +import com.moral.api.pojo.dto.account.AccountDTO; +import com.moral.api.pojo.dto.account.AccountInsertDTO; +import com.moral.api.pojo.dto.account.AccountQueryDTO; +import com.moral.api.pojo.dto.account.AccountUpdateDTO; +import com.moral.api.pojo.dto.login.LoginDTO; +import com.moral.api.pojo.request.*; /** * <p> @@ -15,20 +19,47 @@ */ public interface ManageAccountService extends IService<ManageAccount> { /** - * @Description: ������������ - * @Param: [paramters] + * @Description: ������ + * @Param: [AESAccount, AESPassword] * @return: java.util.Map<java.lang.String,java.lang.Object> * @Author: ��������� - * @Date: 2021/3/11 + * @Date: 2021/3/12 */ - Map<String, Object> login(Map<String, Object> paramters); + LoginDTO login(LoginRequest loginRequest); + + /** + * @Description: ������ + * @Param: [accountId, token] + * @return: java.util.Map<java.lang.String,java.lang.Object> + * @Author: ��������� + * @Date: 2021/3/12 + */ + boolean logout(LogoutRequest logoutRequest); + + /** + * @Description: ������������������ + * @Param: [accountAddRequest] + * @return: com.moral.api.pojo.dto.AccountDTO + * @Author: ��������� + * @Date: 2021/3/13 + */ + AccountInsertDTO insertAccount(AccountInsertRequest accountInsertRequest); /** - * @Description: ������������ - * @Param: [paramters] - * @return: java.util.Map<java.lang.String,java.lang.Object> + * @Description: ������������ + * @Param: [accountQueryRequest] + * @return: com.moral.api.pojo.dto.AccountDTO * @Author: ��������� - * @Date: 2021/3/11 + * @Date: 2021/3/15 */ - Map<String, Object> logout(Map<String, Object> paramters); + AccountQueryDTO queryAccount(AccountQueryRequest accountQueryRequest); + + /** + * @Description: ������������ + * @Param: [accountUpdateRequest] + * @return: com.moral.api.pojo.dto.account.AccountDTO + * @Author: ��������� + * @Date: 2021/3/15 + */ + AccountUpdateDTO updateAccount(AccountUpdateRequest accountUpdateRequest); } -- Gitblit v1.8.0