消息修改
This commit is contained in:
+8
-3
@@ -23,10 +23,15 @@ import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.collections.CollectionUtils;
|
||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.core.env.Environment;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
@@ -65,8 +70,8 @@ public class SystemSendMessageController {
|
||||
*/
|
||||
@AutoLog(value = "发送站内消息",operateType = 2)
|
||||
@ApiOperation(value="发送站内消息", notes="发送站内消息")
|
||||
@PostMapping(value = "/sendAllUserMessage")
|
||||
// @RequiresPermissions("system:dept:save")
|
||||
@GetMapping(value = "/sendAllUserMessage")
|
||||
@RequiresPermissions("template:add:systemNotifications")
|
||||
@Transactional
|
||||
public Result<?> sendAllUserMessage(@RequestParam("content") String content) {
|
||||
List<PayContactsManagement> listPayContactsManagement = payContactsManagementService.list();
|
||||
|
||||
Reference in New Issue
Block a user