| | |
| | | package com.xiaopeng.api.feignClient.pushMessage; |
| | | |
| | | import com.xiaopeng.api.dto.pushMessage.PushOrderRouteDTO; |
| | | import com.xiaopeng.api.dto.pushMessage.SendMessageDTO; |
| | | import com.xiaopeng.api.factory.pushMessage.XpPushMessageClientFallbackFactory; |
| | | import com.xiaopeng.common.core.domain.R; |
| | | import com.xiaopeng.common.core.dto.ServiceNameConstantsEnum; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | |
| | | */ |
| | | @PostMapping("/inner/websocket/order/sendVehicleLocation") |
| | | R<String> sendVehicleLocation(@RequestBody SendMessageDTO dto); |
| | | /** |
| | | * 通过车辆实时定位推送订单轨迹 |
| | | * |
| | | * @param dto 消息实体 |
| | | * @return 通过车辆实时定位推送订单轨迹 |
| | | */ |
| | | @PostMapping("/inner/v1/order/pushOrderRoute") |
| | | R<String> pushOrderRoute(@RequestBody PushOrderRouteDTO dto); |
| | | |
| | | } |