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 17ffb2c5
authored
Jan 14, 2021
by
18356073052
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
群发消息添加群发图文消息类型
1 parent
6e3fa367
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
linkwe-wecom/src/main/java/com/linkwechat/wecom/domain/dto/message/CustomerMessagePushDto.java
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeCustomerMessagePushServiceImpl.java
linkwe-wecom/src/main/java/com/linkwechat/wecom/domain/dto/message/CustomerMessagePushDto.java
View file @
17ffb2c
...
@@ -42,7 +42,7 @@ public class CustomerMessagePushDto {
...
@@ -42,7 +42,7 @@ public class CustomerMessagePushDto {
private
String
settingTime
;
private
String
settingTime
;
/**
/**
* 消息类型 0 文本消息 1 图片消息 2 链接消息 3 小程序消息
* 消息类型 0 文本消息 1 图片消息 2 链接消息 3 小程序消息
4 图文消息
*/
*/
private
String
messageType
;
private
String
messageType
;
...
...
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeCustomerMessagePushServiceImpl.java
View file @
17ffb2c
...
@@ -361,6 +361,13 @@ public class WeCustomerMessagePushServiceImpl implements IWeCustomerMessagePushS
...
@@ -361,6 +361,13 @@ public class WeCustomerMessagePushServiceImpl implements IWeCustomerMessagePushS
}
}
if
(
customerMessagePushDto
.
getMessageType
().
equals
(
"4"
)){
weCustomerMessagePushDto
.
setImage
(
customerMessagePushDto
.
getImageMessage
());
weCustomerMessagePushDto
.
setLink
(
null
);
weCustomerMessagePushDto
.
setMiniprogram
(
null
);
weCustomerMessagePushDto
.
setText
(
customerMessagePushDto
.
getTextMessage
());
}
}
}
/**
/**
...
...
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