| | |
| | | package com.panzhihua.service_user.api; |
| | | |
| | | import com.panzhihua.common.model.dtos.PageDTO; |
| | | import com.panzhihua.common.model.dtos.community.NoticeReadDTO; |
| | | import com.panzhihua.common.model.dtos.user.PageUserAppletsBackstageDTO; |
| | | import com.panzhihua.common.model.dtos.user.SysUserFeedbackDTO; |
| | | import com.panzhihua.common.model.vos.LoginUserInfoVO; |
| | |
| | | public R addFeedback(@RequestBody SysUserFeedbackDTO sysUserFeedbackDTO){ |
| | | return userService.addFeedback(sysUserFeedbackDTO); |
| | | } |
| | | |
| | | /** |
| | | * 分页通知列表 |
| | | * @param pageDTO 分页参数 |
| | | * @return 分页结果 |
| | | */ |
| | | @PostMapping("pagenotice") |
| | | public R pageNotice(@RequestBody PageDTO pageDTO){ |
| | | return userService.pageNotice(pageDTO); |
| | | } |
| | | |
| | | /** |
| | | * 通知已读 |
| | | * @param noticeReadDTO 通知已读 |
| | | * @return 修改状态 |
| | | */ |
| | | @PostMapping("putnotice") |
| | | public R putNotice(@RequestBody NoticeReadDTO noticeReadDTO){ |
| | | return userService.putNotice(noticeReadDTO); |
| | | } |
| | | } |