huanghongfa
2021-01-04 39fd893c2d4cf695284826655c3f59bd769cfedd
springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java
@@ -1,5 +1,7 @@
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;
@@ -392,4 +394,24 @@
    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);
    }
}