1.获取桌码通过tableId获取
This commit is contained in:
@@ -79,11 +79,12 @@ public class OrderController {
|
||||
@RequestHeader("loginName") String loginName,
|
||||
@RequestHeader("clientType") String clientType,
|
||||
@RequestParam("shopId") String shopId,
|
||||
@RequestParam(required = false) String tableId,
|
||||
String type
|
||||
){
|
||||
JSONObject jsonObject = TokenUtil.parseParamFromToken(token);
|
||||
String userId = jsonObject.getString("accountId");
|
||||
return orderService.createCode(shopId,clientType,userId,type);
|
||||
return orderService.createCode(shopId,clientType,userId,type, tableId);
|
||||
}
|
||||
@GetMapping("/getCartList")
|
||||
public Result getCart(@RequestHeader("token") String token, @RequestHeader("loginName") String loginName,
|
||||
|
||||
Reference in New Issue
Block a user