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 1add86f2
authored
Dec 30, 2020
by
18356073052
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
群发消息任务代码重构
1 parent
8f999ce4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
linkwe-wecom/src/main/java/com/linkwechat/wecom/client/WeCustomerMessagePushClient.java
linkwe-wecom/src/main/java/com/linkwechat/wecom/client/WeCustomerMessagePushClient.java
View file @
1add86f
package
com
.
linkwechat
.
wecom
.
client
;
package
com
.
linkwechat
.
wecom
.
client
;
import
com.dtflys.forest.annotation.Body
;
import
com.dtflys.forest.annotation.DataObject
;
import
com.dtflys.forest.annotation.DataObject
;
import
com.dtflys.forest.annotation.Query
;
import
com.dtflys.forest.annotation.Query
;
import
com.dtflys.forest.annotation.Request
;
import
com.dtflys.forest.annotation.Request
;
import
com.linkwechat.wecom.domain.dto.message.QueryCustomerMessageStatusResultDataObjectDto
;
import
com.linkwechat.wecom.domain.dto.message.QueryCustomerMessageStatusResultDto
;
import
com.linkwechat.wecom.domain.dto.message.QueryCustomerMessageStatusResultDto
;
import
com.linkwechat.wecom.domain.dto.message.SendMessageResultDto
;
import
com.linkwechat.wecom.domain.dto.message.SendMessageResultDto
;
import
com.linkwechat.wecom.domain.dto.message.WeCustomerMessagePushDto
;
import
com.linkwechat.wecom.domain.dto.message.WeCustomerMessagePushDto
;
...
@@ -22,7 +24,7 @@ public interface WeCustomerMessagePushClient {
...
@@ -22,7 +24,7 @@ public interface WeCustomerMessagePushClient {
@Request
(
url
=
"/externalcontact/add_msg_template"
,
@Request
(
url
=
"/externalcontact/add_msg_template"
,
type
=
"POST"
type
=
"POST"
)
)
SendMessageResultDto
sendCustomerMessageToUser
(
@
DataObject
WeCustomerMessagePushDto
customerMessagePushDto
);
SendMessageResultDto
sendCustomerMessageToUser
(
@
Body
WeCustomerMessagePushDto
customerMessagePushDto
);
/**
/**
* 获取企业群发消息发送结果
* 获取企业群发消息发送结果
...
@@ -33,7 +35,7 @@ public interface WeCustomerMessagePushClient {
...
@@ -33,7 +35,7 @@ public interface WeCustomerMessagePushClient {
@Request
(
url
=
"/externalcontact/get_group_msg_result"
,
@Request
(
url
=
"/externalcontact/get_group_msg_result"
,
type
=
"POST"
type
=
"POST"
)
)
QueryCustomerMessageStatusResultDto
queryCustomerMessageStatus
(
@
Query
(
value
=
"msgid"
)
String
msgid
);
QueryCustomerMessageStatusResultDto
queryCustomerMessageStatus
(
@
Body
QueryCustomerMessageStatusResultDataObjectDto
queryCustomerMessageStatusResultDataObjectDto
);
}
}
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