| | |
| | | import com.xiaopeng.api.query.operation.PointPageListListQuery; |
| | | import com.xiaopeng.api.vo.order.XpHistoryEndPointsVo; |
| | | import com.xiaopeng.api.vo.order.XpHistoryStartPointsVo; |
| | | import com.xiaopeng.api.vo.order.XpPointsListVo; |
| | | import com.xiaopeng.common.core.domain.R; |
| | | import com.xiaopeng.common.core.dto.ServiceNameConstantsEnum; |
| | | import com.xiaopeng.common.core.web.page.PageInfo; |
| | |
| | | public interface XpPointClient { |
| | | |
| | | |
| | | @PostMapping("/base/v1/mini-program/xp-point/getHistoryStartPoints") |
| | | @PostMapping("/base/v1/xp-point/getHistoryStartPoints") |
| | | R<List<XpHistoryStartPointsVo>> getHistoryStartPoints(@RequestBody HistoryStartPointsDto historyStartPointsDto); |
| | | |
| | | @PostMapping("/base/v1/mini-program/xp-point/getHistoryEndPoints") |
| | | @PostMapping("/base/v1/xp-point/getHistoryEndPoints") |
| | | R<List<XpHistoryEndPointsVo>> getHistoryEndPoints(@RequestBody HistoryEndPointsDto historyEndPointsDto); |
| | | |
| | | |
| | |
| | | */ |
| | | @GetMapping("/api/v1/point/queryPointById") |
| | | public R<XpPoint> queryById(@RequestParam Long id); |
| | | /** |
| | | * 点位删除 |
| | | */ |
| | | @GetMapping("/api/v1/point/deletePoint/{ids}") |
| | | R deletePoint(@PathVariable("ids") String ids); |
| | | |
| | | // /** |
| | | // * 点位删除 |
| | | // */ |
| | | // @GetMapping("/api/v1/point/deletePoint") |
| | | // R deletePoint(@RequestParam("ids") String ids); |
| | | |
| | | /** |
| | | * 点位删除 |
| | |
| | | R<List<XpPoint>> pointMap(@RequestBody PointMapQuery query); |
| | | |
| | | |
| | | @PostMapping("/base/v1/mini-program/inner/point/getPointsInfo") |
| | | @PostMapping("/logan/inner/v1/point/getPointsInfo") |
| | | R<List<XpPoint>> getPointsInfo(@RequestBody Set<Long> points); |
| | | |
| | | @GetMapping("/logan/inner/v1/point/getStationChildren") |
| | | R<List<XpPointsListVo>> getStationChildren(@RequestParam Long stationId); |
| | | |
| | | /** |
| | | * 判断点位是在有效期内 |
| | |
| | | * @param pointId |
| | | * @return |
| | | */ |
| | | @GetMapping("/base/v1/mini-program/inner/point/nowInTimePoint") |
| | | @GetMapping("/logan/inner/v1/point/nowInTimePoint") |
| | | R<Boolean> nowInTimePoint(@RequestParam Long pointId); |
| | | |
| | | /** |
| | | * 编辑点位 |
| | | * @param xpPoint |
| | | * @return |
| | | */ |
| | | @PostMapping("/logan/inner/v1/point/editXpPoint") |
| | | R<?> editXpPoint(@RequestBody XpPoint xpPoint); |
| | | } |