Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ed8ba6ba
authored
Nov 27, 2020
by
zal
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增给客户或者客户群发消息api 对接客户端
1 parent
25486863
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
linkwe-wecom/src/main/java/com/linkwechat/wecom/client/WeCustomerMessagePushClient.java
linkwe-wecom/src/main/java/com/linkwechat/wecom/client/WeCustomerMessagePushClient.java
0 → 100644
View file @
ed8ba6b
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
);
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment