消息修改

This commit is contained in:
liangqitao
2021-12-17 10:22:59 +08:00
parent b2be782fb0
commit af12686a85
3 changed files with 4 additions and 2 deletions
@@ -25,6 +25,7 @@ import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections.CollectionUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.core.env.Environment;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.util.Date;
@@ -66,6 +67,7 @@ public class SystemSendMessageController {
@ApiOperation(value="发送站内消息", notes="发送站内消息")
@PostMapping(value = "/sendAllUserMessage")
// @RequiresPermissions("system:dept:save")
@Transactional
public Result<?> sendAllUserMessage(@RequestParam("content") String content) {
List<PayContactsManagement> listPayContactsManagement = payContactsManagementService.list();
if(!CollectionUtils.isEmpty(listPayContactsManagement)){