From 54dce1d981e13cd177bd3e0bb1f335f31fd3429b Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 07 Jul 2022 15:05:18 +0800 Subject: [PATCH] 20220606 --- src/main/java/com/xcong/farmer/cms/modules/system/service/ICommonService.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/farmer/cms/modules/system/service/ICommonService.java b/src/main/java/com/xcong/farmer/cms/modules/system/service/ICommonService.java index 5eb9be0..04d7f74 100644 --- a/src/main/java/com/xcong/farmer/cms/modules/system/service/ICommonService.java +++ b/src/main/java/com/xcong/farmer/cms/modules/system/service/ICommonService.java @@ -4,9 +4,17 @@ import com.xcong.farmer.cms.common.response.Result; import com.xcong.farmer.cms.modules.system.dto.AdminLoginDto; import com.xcong.farmer.cms.modules.system.entity.UserEntity; +import java.io.IOException; + +import java.util.Map; public interface ICommonService extends IService<UserEntity> { Result login(AdminLoginDto adminLoginDto); + Result memberLogout(); + //生成token + Map<String, Object> createToken(String captcha); + //生成captcha验证码 + Result captchaCreator() throws IOException; } -- Gitblit v1.9.1