| | |
| | | import com.doumee.dao.business.model.Banner; |
| | | import com.doumee.dao.business.model.Category; |
| | | import com.doumee.dao.business.model.Notice; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.doumee.dao.dto.AreasDto; |
| | | import com.doumee.dao.dto.CalculateLocalPriceDTO; |
| | | import com.doumee.dao.dto.CalculateRemotePriceDTO; |
| | | import com.doumee.dao.dto.DirectionInfoDTO; |
| | | import com.doumee.dao.dto.SameCityCheckDTO; |
| | | import com.doumee.dao.vo.PriceCalculateVO; |
| | | import com.doumee.dao.vo.ActiveOrderTipVO; |
| | |
| | | } |
| | | |
| | | @LoginDriverRequired |
| | | @ApiOperation(value = "路径规划", notes = "调用高德地图路径规划接口,返回路线信息") |
| | | @PostMapping("/directionInfo") |
| | | public ApiResponse<JSONObject> directionInfo(@RequestBody @Valid DirectionInfoDTO dto) { |
| | | return ApiResponse.success("操作成功", MapUtil.directionInfo(dto.getMode(), dto.getFrom(), dto.getTo())); |
| | | } |
| | | |
| | | @LoginDriverRequired |
| | | @ApiOperation(value = "司机标记全部已读", notes = "标记当前用户所有未读通知为已读") |
| | | @PostMapping("/driverReadAllNotice") |
| | | @ApiImplicitParams({ |