| | |
| | | return new FebsResponse().success().data(dataTable); |
| | | } |
| | | |
| | | /** |
| | | * 订单列表-发货 |
| | | */ |
| | | @PostMapping("deliverGoods") |
| | | @ControllerEndpoint(operation = "订单列表-发货", exceptionMessage = "操作失败") |
| | | public FebsResponse deliverGoods(@Valid DeliverGoodsDto deliverGoodsDto) { |
| | | return adminMallGoodsService.deliverGoods(deliverGoodsDto); |
| | | } |
| | | |
| | | /** |
| | | * 订单列表-删除订单 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("delOrder/{id}") |
| | | @ControllerEndpoint(operation = "订单列表-删除订单", exceptionMessage = "操作失败") |
| | | public FebsResponse delOrder(@NotNull(message = "{required}") @PathVariable Long id) { |
| | | return adminMallGoodsService.delOrder(id); |
| | | } |
| | | |
| | | @GetMapping(value = "/findDicByType/{type}") |
| | | public FebsResponse findDicByType(@PathVariable("type") String type) { |
| | | return new FebsResponse().success().data(adminMallGoodsService.findDataDicByType(type)); |