puzhibing
2023-08-01 98bc380ae322eaac2ee7e21d0c565e30eacce2b5
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
package com.stylefeng.guns.modular.system.service;
 
import com.stylefeng.guns.modular.system.model.OrderPosition;
import com.stylefeng.guns.modular.system.util.ResultUtil;
 
public interface INettyService {
 
 
    /**
     * 司机主动上传位置信息
     * 服务端去搜索是否有单据
     * 或者有单据的情况下根据订单状态不同返回不同的数据
     * @param uid   司机id
     * @return
     * @throws Exception
     */
    ResultUtil positionSocket(OrderPosition orderPosition, Integer uid) throws Exception;
 
 
    /**
     * 进入业务流程中,根据订单状态返回不同数据
     * @param uid
     * @return
     * @throws Exception
     */
    ResultUtil orderStateSocket(Integer uid) throws Exception;
}