xuhy
2023-08-11 7a8c46e7acecf0a0275e36f27623ed44db7451fc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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;
}