| | |
| | | import com.ycl.dto.message.MessageParam; |
| | | import com.ycl.entity.message.Message; |
| | | import com.ycl.service.message.IMessageService; |
| | | import com.ycl.vo.message.MessageVO; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.core.context.SecurityContextHolder; |
| | | import org.springframework.validation.annotation.Validated; |
| | |
| | | |
| | | /** |
| | | * <p> |
| | | * 消息管理 前端控制器 |
| | | * 消息管理 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author mg |
| | |
| | | @ApiOperation(value = "获取消息分页查询") |
| | | @RequestMapping(value = "/list", method = RequestMethod.GET) |
| | | @ResponseBody |
| | | public CommonResult<IPage<Message>> list(MessageParam messageParam) { |
| | | public CommonResult<IPage<MessageVO>> list(MessageParam messageParam) { |
| | | return CommonResult.success(iMessageService.list(messageParam)); |
| | | } |
| | | |