| | |
| | | @Autowired |
| | | private PricingRuleService pricingRuleService; |
| | | |
| | | @PreventRepeat |
| | | /*@PreventRepeat |
| | | @ApiOperation("新建") |
| | | @PostMapping("/create") |
| | | @RequiresPermissions("business:pricingRule:create") |
| | |
| | | @RequiresPermissions("business:pricingRule:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(pricingRuleService.findById(id)); |
| | | } |
| | | }*/ |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("批量保存就地存取规则") |
| | |
| | | @ApiOperation("查询预计时效配置") |
| | | @GetMapping("/estimatedDelivery/list") |
| | | @RequiresPermissions("business:pricingRule:query") |
| | | public ApiResponse<EstimatedDeliveryVO> listEstimatedDelivery(@RequestParam Integer cityId) { |
| | | public ApiResponse<List<EstimatedDeliveryVO>> listEstimatedDelivery(@RequestParam Integer cityId) { |
| | | return ApiResponse.success(pricingRuleService.getEstimatedDelivery(cityId)); |
| | | } |
| | | |