叫号消息订阅
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.czg.controller.admin;
|
||||
|
||||
import com.czg.account.dto.WxMsgSubDTO;
|
||||
import com.czg.account.dto.calltable.*;
|
||||
import com.czg.account.entity.CallConfig;
|
||||
import com.czg.account.entity.CallQueue;
|
||||
@@ -173,4 +174,15 @@ public class CallTableController {
|
||||
public CzgResult<Boolean> updateConfig(@RequestBody UpdateConfigDTO configDTO) {
|
||||
return CzgResult.success(callTableService.updateConfig(StpKit.USER.getShopId(), configDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* 消息订阅
|
||||
* @return 是否成功
|
||||
*/
|
||||
@PostMapping("subMsg")
|
||||
public CzgResult<?> subMsg(
|
||||
@Validated @RequestBody CallSubMsgDTO subMsgDTO
|
||||
) {
|
||||
return CzgResult.success(callTableService.subMsg(subMsgDTO));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user