| | |
| | | package com.xiaopeng.map.controller; |
| | | |
| | | import com.xiaopeng.api.model.operation.XpPoint; |
| | | import com.xiaopeng.common.core.domain.R; |
| | | import com.xiaopeng.map.dto.NearestDto; |
| | | import com.xiaopeng.map.dto.StationDetailQueryDto; |
| | | import com.xiaopeng.map.service.XpPointService; |
| | | import com.xiaopeng.map.vo.NearestVo; |
| | | import com.xiaopeng.map.vo.StationDetailVo; |
| | | import com.xiaopeng.unifiedverification.interceptor.XpClientCheck; |
| | | import io.swagger.annotations.Api; |
| | |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.validation.Valid; |
| | | |
| | | @Slf4j |
| | | @RestController |
| | |
| | | String uid = request.getHeader("XP-Uid"); |
| | | return R.ok(xpPointService.queryStationDetail(dto, uid)); |
| | | } |
| | | |
| | | |
| | | } |