1.排队取号 取号打印小票,增加订阅接口
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user