1.排队取号 取号打印小票,增加订阅接口

This commit is contained in:
2024-09-19 15:14:14 +08:00
parent 6ce85b1d10
commit 3ee0bbcd4a
2 changed files with 7 additions and 1 deletions

View File

@@ -75,7 +75,7 @@ public class TbCallTableController {
@PutMapping("subMsg")
public Result subMsg(
@RequestBody CallSubMsgDTO subMsgDTO
@Validated @RequestBody CallSubMsgDTO subMsgDTO
) {
return Result.successWithData(tbCallService.subMsg(subMsgDTO));
}

View File

@@ -2,9 +2,15 @@ package com.chaozhanggui.system.cashierservice.entity.dto;
import lombok.Data;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
@Data
public class CallSubMsgDTO {
@NotNull
private Integer queueId;
@NotEmpty
private String openId;
@NotNull
private Integer shopId;
}