| | |
| | | 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(Long id); |
| | | Result memberLogout(); |
| | | //生成token |
| | | Map<String, Object> createToken(String captcha); |
| | | //生成captcha验证码 |
| | | Result captchaCreator() throws IOException; |
| | | } |