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 f9311921
authored
Dec 30, 2020
by
18356073052
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
查询微信消息发送情况
1 parent
da9031b7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeCustomerMessagePushController.java
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeCustomerMessagePushController.java
View file @
f931192
...
@@ -8,8 +8,10 @@ import com.linkwechat.common.core.page.TableDataInfo;
...
@@ -8,8 +8,10 @@ import com.linkwechat.common.core.page.TableDataInfo;
import
com.linkwechat.common.enums.BusinessType
;
import
com.linkwechat.common.enums.BusinessType
;
import
com.linkwechat.wecom.domain.dto.message.CustomerMessagePushDto
;
import
com.linkwechat.wecom.domain.dto.message.CustomerMessagePushDto
;
import
com.linkwechat.wecom.domain.vo.CustomerMessagePushVo
;
import
com.linkwechat.wecom.domain.vo.CustomerMessagePushVo
;
import
com.linkwechat.wecom.domain.vo.WeCustomerMessageResultVo
;
import
com.linkwechat.wecom.service.IWeCustomerMessageOriginalService
;
import
com.linkwechat.wecom.service.IWeCustomerMessageOriginalService
;
import
com.linkwechat.wecom.service.IWeCustomerMessagePushService
;
import
com.linkwechat.wecom.service.IWeCustomerMessagePushService
;
import
com.linkwechat.wecom.service.IWeCustomerMessgaeResultService
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.security.access.prepost.PreAuthorize
;
...
@@ -33,6 +35,11 @@ public class WeCustomerMessagePushController extends BaseController {
...
@@ -33,6 +35,11 @@ public class WeCustomerMessagePushController extends BaseController {
@Autowired
@Autowired
private
IWeCustomerMessageOriginalService
weCustomerMessageOriginalService
;
private
IWeCustomerMessageOriginalService
weCustomerMessageOriginalService
;
@Autowired
private
IWeCustomerMessgaeResultService
weCustomerMessgaeResultService
;
/**
/**
* 新增群发消息发送
* 新增群发消息发送
*/
*/
...
@@ -75,4 +82,15 @@ public class WeCustomerMessagePushController extends BaseController {
...
@@ -75,4 +82,15 @@ public class WeCustomerMessagePushController extends BaseController {
return
AjaxResult
.
success
(
customerMessagePushVo
);
return
AjaxResult
.
success
(
customerMessagePushVo
);
}
}
/**
* 群发消息结果列表
*/
@PreAuthorize
(
"@ss.hasPermi('customerMessagePush:push:pushResults')"
)
@GetMapping
(
value
=
"/pushResults"
)
public
TableDataInfo
customerMessagePushResult
(
@RequestParam
(
value
=
"messageId"
)
Long
messageId
,
@RequestParam
(
value
=
"status"
)
String
status
){
startPage
();
List
<
WeCustomerMessageResultVo
>
weCustomerMessageResuls
=
weCustomerMessgaeResultService
.
customerMessagePushs
(
messageId
,
status
);
return
getDataTable
(
weCustomerMessageResuls
);
}
}
}
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