| | |
| | | |
| | | @GetMapping("/base/v1/mini-program/pricing/rules/{openCityId}") |
| | | @ApiOperation(value = "获取费用规则", tags = {"小程序-根据开通城市获取费用规则"}, response = String.class) |
| | | @XpClientCheck(checkToken = false, checkOtpToken = true) |
| | | public R<?> getPricingRules(@PathVariable Long openCityId) { |
| | | XpPricing xpPricing = xpPricingService.getOne(new LambdaQueryWrapper<XpPricing>().eq(XpPricing::getCityId, openCityId).last("limit 1")); |
| | | if (xpPricing != null) { |
| | |
| | | */ |
| | | @PostMapping("/base/v1/mini-program/pricing/getWaitTime") |
| | | @ApiOperation(value = "获取等待时间", tags = {"小程序-获取等待时间"}, response = Integer.class) |
| | | @XpClientCheck(checkToken = false, checkOtpToken = true) |
| | | public R<Integer> getWaitTime(@RequestBody LonLatDto dto) { |
| | | return R.ok(xpPricingService.getWaitTime(dto.getLongitude(), dto.getLatitude())); |
| | | } |
| | | |
| | | |
| | | @PostMapping("/inner/v1/pricing/getWaitTime") |
| | | @PostMapping("/logan/inner/v1/pricing/getWaitTime") |
| | | public R<Integer> getWaitTime1(@RequestBody LonLatDto dto) { |
| | | return R.ok(xpPricingService.getWaitTime(dto.getLongitude(), dto.getLatitude())); |
| | | } |
| | |
| | | hotFixInfoVo.setHotfixStatus(0); |
| | | return R.ok(hotFixInfoVo); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |