| | |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("根据ID修改") |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:orders:update") |
| | | public ApiResponse updateById(@RequestBody Orders orders) { |
| | | ordersService.updateById(orders); |
| | | return ApiResponse.success(null); |
| | | } |
| | | // @ApiOperation("根据ID修改") |
| | | // @PostMapping("/updateById") |
| | | // @RequiresPermissions("business:orders:update") |
| | | // public ApiResponse updateById(@RequestBody Orders orders) { |
| | | // ordersService.updateById(orders); |
| | | // return ApiResponse.success(null); |
| | | // } |
| | | |
| | | @ApiOperation("分页查询") |
| | | @PostMapping("/page") |
| | |
| | | ordersService.platformCancel(id,loginUserInfo); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | |
| | | } |