1.增加台桌状态

This commit is contained in:
2024-08-21 09:21:07 +08:00
parent da9f1ab68f
commit 2b7ca62abf
2 changed files with 13 additions and 13 deletions

View File

@@ -55,13 +55,12 @@ public class OrderController {
@RequestHeader("clientType") String clientType,
@RequestParam(value = "masterId", required = false) String masterId,
@RequestParam(required = false) String tableId,
@RequestParam(required = false) Integer vipUserId,
@RequestParam("shopId") String shopId
){
if (tableId == null && StrUtil.isBlank(masterId)) {
return Result.fail("masterId和tableId不能同时为空");
}
return orderService.queryCart(masterId,shopId, vipUserId, tableId);
return orderService.queryCart(masterId,shopId, tableId);
}