1.排队取号 取号返回取号信息

This commit is contained in:
2024-09-23 17:02:10 +08:00
parent 715c661a4e
commit 30ba4eb878
2 changed files with 3 additions and 6 deletions

View File

@@ -60,13 +60,10 @@ public class TbCallTableController {
@GetMapping("state")
public Result getState(
@RequestParam(required = false) String openId,
@RequestParam String openId,
@RequestParam Integer shopId,
@RequestParam(required = false) Integer queueId
) {
if (StrUtil.isBlank(openId) && queueId == null) {
return Result.fail("shopId和queueId不能同时为空");
}
return Result.successWithData(tbCallService.getState(openId, shopId, queueId));
}