xiaoyong931011
2022-07-07 10fdc02eb340cac4adc87c708556e27daa3b6e1b
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;
}