Commit 1cae4e7d by zal

新增给客户或者客户群发消息api 对接客户端

1 parent 8803e592
package com.linkwechat.wecom.client;
import com.dtflys.forest.annotation.DataObject;
import com.dtflys.forest.annotation.Query;
import com.dtflys.forest.annotation.Request;
import com.linkwechat.wecom.domain.dto.message.QueryCustomerMessageStatusResultDto;
import com.linkwechat.wecom.domain.dto.message.SendMessageResultDto;
import com.linkwechat.wecom.domain.dto.message.WeCustomerMessagePushDto;
/**
* @description: 消息推送
* @author: KeWen
* @create: 2020-10-25 21:34
**/
public interface WeCustomerMessagePushClient {
/**
* 添加企业群发消息任务
* <a href="https://work.weixin.qq.com/api/doc/90000/90135/92135">API文档地址</a>
*/
@Request(url = "/externalcontact/add_msg_template",
type = "POST"
)
SendMessageResultDto sendCustomerMessageToUser(@DataObject WeCustomerMessagePushDto customerMessagePushDto);
/**
* 获取企业群发消息发送结果
* <a href="https://work.weixin.qq.com/api/doc/90000/90135/92136">API文档地址</a>
*
* @param msgid <a href="https://work.weixin.qq.com/api/doc/90000/90135/92135">添加企业群发消息任务返回的msgid</a>
*/
@Request(url = "/externalcontact/get_group_msg_result",
type = "POST"
)
QueryCustomerMessageStatusResultDto queryCustomerMessageStatus(@Query(value = "msgid") String msgid);
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!