1.排队取号 取号返回取号信息
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user