1.排队取号 取号打印小票,增加订阅接口
This commit is contained in:
@@ -75,7 +75,7 @@ public class TbCallTableController {
|
|||||||
|
|
||||||
@PutMapping("subMsg")
|
@PutMapping("subMsg")
|
||||||
public Result subMsg(
|
public Result subMsg(
|
||||||
@RequestBody CallSubMsgDTO subMsgDTO
|
@Validated @RequestBody CallSubMsgDTO subMsgDTO
|
||||||
) {
|
) {
|
||||||
return Result.successWithData(tbCallService.subMsg(subMsgDTO));
|
return Result.successWithData(tbCallService.subMsg(subMsgDTO));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,9 +2,15 @@ package com.chaozhanggui.system.cashierservice.entity.dto;
|
|||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
public class CallSubMsgDTO {
|
public class CallSubMsgDTO {
|
||||||
|
@NotNull
|
||||||
private Integer queueId;
|
private Integer queueId;
|
||||||
|
@NotEmpty
|
||||||
private String openId;
|
private String openId;
|
||||||
|
@NotNull
|
||||||
private Integer shopId;
|
private Integer shopId;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user