fix: 抓单返回类型修改
This commit is contained in:
@@ -147,8 +147,8 @@ public class OrderController {
|
|||||||
* 转台并台
|
* 转台并台
|
||||||
*/
|
*/
|
||||||
@PutMapping("/switch")
|
@PutMapping("/switch")
|
||||||
public ResponseEntity<?> switchTable(@Validated @RequestBody SwitchTableDTO switchTableDTO, @RequestHeader("token") String token) {
|
public Result switchTable(@Validated @RequestBody SwitchTableDTO switchTableDTO, @RequestHeader("token") String token) {
|
||||||
return ResponseEntity.ok(orderService.switchTable(switchTableDTO, token));
|
return Result.success(CodeEnum.SUCCESS, orderService.switchTable(switchTableDTO, token));
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/createBackOrder")
|
@PostMapping("/createBackOrder")
|
||||||
|
|||||||
Reference in New Issue
Block a user