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;
|
}
|