xiaoyong931011
2022-06-24 b2242780c6994327c105e97a2240e282ee52f90c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.xcong.farmer.cms.modules.system.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
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;
}