|
|
|
@ -1,10 +1,7 @@
|
|
|
|
|
package com.hnac.hzims.message.fegin; |
|
|
|
|
|
|
|
|
|
import com.hnac.hzims.message.MessageConstants; |
|
|
|
|
import com.hnac.hzims.message.dto.MessagePushRecordDto; |
|
|
|
|
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.dto.*; |
|
|
|
|
import com.hnac.hzims.message.entity.MessagePushRecordEntity; |
|
|
|
|
import com.hnac.hzims.message.entity.config.MessageTemplateEntity; |
|
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
@ -29,6 +26,7 @@ public interface IMessageClient {
|
|
|
|
|
String SEND_MESSAGE = API_PREFIX + "/sendMessage"; |
|
|
|
|
String GET_TEMPLATE_BY_ID = API_PREFIX + "/getMsgTemplateById"; |
|
|
|
|
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) |
|
|
|
|
R<PlanMsgRecordDto> planSendMessage(@RequestBody PlanMsgRecordDto request); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 发送多人APP、WEB消息 |
|
|
|
|
* @Author hx |
|
|
|
|
* @param request |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@PostMapping(SEND_APP_AND_WS_MSG) |
|
|
|
|
R<Boolean> sendAppAndWsMsgByUsers(@RequestBody BusinessMessageDTO request); |
|
|
|
|
} |
|
|
|
|