From 1facfdc9361d888d72c959bac4d8fb05dcad02d7 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 07 Jul 2022 18:27:06 +0800 Subject: [PATCH] Merge branch 'master' of http://120.27.238.55:7000/r/farmer-cms --- 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