| | |
| | | import com.baomidou.mybatisplus.service.IService; |
| | | import com.supersavedriving.driver.modular.system.model.Driver; |
| | | import com.supersavedriving.driver.modular.system.util.ResultUtil; |
| | | import com.supersavedriving.driver.modular.system.warpper.DriverPositionWarpper; |
| | | import com.supersavedriving.driver.modular.system.warpper.DriverRegisterWarpper; |
| | | import com.supersavedriving.driver.modular.system.warpper.PromotionWarpper; |
| | | import com.supersavedriving.driver.modular.system.warpper.TokenWarpper; |
| | | import com.supersavedriving.driver.modular.system.warpper.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | |
| | | |
| | | /** |
| | | * 校验token获取用户信息 |
| | | * @param request |
| | | * @return |
| | | */ |
| | | Integer getUserByRequset(HttpServletRequest request) throws Exception; |
| | | Integer getUserByRequest() throws Exception; |
| | | |
| | | |
| | | /** |
| | |
| | | * @throws Exception |
| | | */ |
| | | PromotionWarpper queryPromotionQRCode(Integer uid) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 获取司机个人信息 |
| | | * @param uid |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | DriverInfoWarpper queryDriverInfo(Integer uid) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 修改个人信息 |
| | | * @param uid |
| | | * @param driverInfo |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | ResultUtil saveDriverInfo(Integer uid, DriverInfo driverInfo) throws Exception; |
| | | } |