Browse Source

# 消息APP/WEB多人即时推送接口(补)

zhongwei
haungxing 1 year ago
parent
commit
bc334eacb6
  1. 15
      hzims-service-api/message-api/src/main/java/com/hnac/hzims/message/fegin/IMessageClient.java

15
hzims-service-api/message-api/src/main/java/com/hnac/hzims/message/fegin/IMessageClient.java

@ -1,10 +1,7 @@
package com.hnac.hzims.message.fegin; package com.hnac.hzims.message.fegin;
import com.hnac.hzims.message.MessageConstants; import com.hnac.hzims.message.MessageConstants;
import com.hnac.hzims.message.dto.MessagePushRecordDto; import com.hnac.hzims.message.dto.*;
import com.hnac.hzims.message.dto.PlanMsgRecordDto;
import com.hnac.hzims.message.dto.PushDto;
import com.hnac.hzims.message.dto.SmsPushDto;
import com.hnac.hzims.message.entity.MessagePushRecordEntity; import com.hnac.hzims.message.entity.MessagePushRecordEntity;
import com.hnac.hzims.message.entity.config.MessageTemplateEntity; import com.hnac.hzims.message.entity.config.MessageTemplateEntity;
import org.springblade.core.tool.api.R; import org.springblade.core.tool.api.R;
@ -29,6 +26,7 @@ public interface IMessageClient {
String SEND_MESSAGE = API_PREFIX + "/sendMessage"; String SEND_MESSAGE = API_PREFIX + "/sendMessage";
String GET_TEMPLATE_BY_ID = API_PREFIX + "/getMsgTemplateById"; String GET_TEMPLATE_BY_ID = API_PREFIX + "/getMsgTemplateById";
String PLAN_SEND_MESSAGE = API_PREFIX + "/planSendMessage"; String PLAN_SEND_MESSAGE = API_PREFIX + "/planSendMessage";
String SEND_APP_AND_WS_MSG = API_PREFIX + "/sendAppAndWsMsgByUsers";
/** /**
* 推送消息短信 * 推送消息短信
@ -54,4 +52,13 @@ public interface IMessageClient {
**/ **/
@PostMapping(PLAN_SEND_MESSAGE) @PostMapping(PLAN_SEND_MESSAGE)
R<PlanMsgRecordDto> planSendMessage(@RequestBody PlanMsgRecordDto request); R<PlanMsgRecordDto> planSendMessage(@RequestBody PlanMsgRecordDto request);
/**
* 发送多人APPWEB消息
* @Author hx
* @param request
* @return
*/
@PostMapping(SEND_APP_AND_WS_MSG)
R<Boolean> sendAppAndWsMsgByUsers(@RequestBody BusinessMessageDTO request);
} }

Loading…
Cancel
Save