| | |
| | | import com.xiaopeng.api.dto.map.RoutePreferenceSaveDto; |
| | | import com.xiaopeng.api.dto.map.RouteStaleCheckDto; |
| | | import com.xiaopeng.api.dto.map.SelectNavigationRouteDto; |
| | | import com.xiaopeng.api.dto.order.OrderChangeDto; |
| | | import com.xiaopeng.api.model.order.XpOrder; |
| | | import com.xiaopeng.api.vo.operation.MultiRouteAndFareVo; |
| | | import com.xiaopeng.api.vo.operation.RoutePreferenceItemVo; |
| | |
| | | import com.xiaopeng.common.core.web.controller.BaseController; |
| | | import com.xiaopeng.common.redis.service.RedisService; |
| | | import com.xiaopeng.itinerary.dto.XpOrderDto; |
| | | import com.xiaopeng.itinerary.service.ActiveOrderService; |
| | | import com.xiaopeng.itinerary.service.IXpGeoQueryEntityService; |
| | | import com.xiaopeng.itinerary.service.XpPricingService; |
| | | import com.xiaopeng.api.vo.HotFixInfoVo; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.validation.Valid; |
| | | import java.util.List; |
| | |
| | | private final IXpGeoQueryEntityService xpGeoQueryEntityService; |
| | | private final RedisService redisService; |
| | | private final ImageTagProcessor imageTagProcessor; |
| | | @Resource |
| | | private ActiveOrderService activeOrderService; |
| | | |
| | | |
| | | public XpPricingController(XpPricingService xpPricingService, IXpGeoQueryEntityService xpGeoQueryEntityService, RedisService redisService, ImageTagProcessor imageTagProcessor) { |
| | |
| | | return R.ok(saveOrderVo); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 行程中 修改目的地 确认按钮 |
| | | * 修改目的地, |
| | | * 1.重新确认路线 |
| | | * 2.确认价格 |
| | | */ |
| | | @ApiOperation(value = "行程中 修改目的地 确认按钮", notes = "", tags = {"小程序-行程中修改目的地"}) |
| | | @PostMapping("/api/v1/mini-program/order/orderChange") |
| | | @XpClientCheck(checkToken = false, checkOtpToken = true) |
| | | public R<?> orderChange(@RequestBody @Validated OrderChangeDto dto, HttpServletRequest request) { |
| | | |
| | | String uid = request.getHeader("XP-Uid"); |
| | | activeOrderService.orderChange(dto, uid); |
| | | return R.ok(); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取热修复信息 |
| | | * @param |