package com.stylefeng.guns.modular.system.service;
|
|
import com.baomidou.mybatisplus.service.IService;
|
import com.stylefeng.guns.modular.system.model.Dispatch;
|
import com.stylefeng.guns.modular.system.util.ResultUtil;
|
|
import javax.servlet.http.HttpServletRequest;
|
|
public interface IDispatchService extends IService<Dispatch> {
|
|
|
/**
|
* 账号密码登录
|
* @param account
|
* @param password
|
* @return
|
* @throws Exception
|
*/
|
ResultUtil dispatchLogin(String account, String password) throws Exception;
|
|
|
|
/**
|
* 从redis中获取用户id
|
* @param request
|
* @return
|
* @throws Exception
|
*/
|
Integer getUserIdFormRedis(HttpServletRequest request) throws Exception;
|
|
|
/**
|
* 编辑推单配置
|
* @param pushOrder
|
* @param uid
|
* @return
|
* @throws Exception
|
*/
|
ResultUtil editPushOrder(Integer pushOrder, Integer uid) throws Exception;
|
}
|