1.排队取号 限制同一微信订阅次数
This commit is contained in:
@@ -37,13 +37,10 @@ public class TbCallTableController {
|
||||
*/
|
||||
@GetMapping("queue")
|
||||
public Result get(
|
||||
@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.getList(shopId, openId, queueId));
|
||||
}
|
||||
|
||||
@@ -73,7 +70,7 @@ public class TbCallTableController {
|
||||
return Result.successWithData(tbCallService.getState(openId, shopId, queueId));
|
||||
}
|
||||
|
||||
@PutMapping("subMsg")
|
||||
@PostMapping("subMsg")
|
||||
public Result subMsg(
|
||||
@Validated @RequestBody CallSubMsgDTO subMsgDTO
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user