Pu Zhibing
2024-12-24 d09284975427910441eeaf59d34a4d50d2fd5fdc
UserAHTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/api/SystemNoticeController.java
@@ -89,8 +89,26 @@
            return ResultUtil.runErr();
        }
    }
    @ResponseBody
    @PostMapping("/queryNoticesInfo")
    @ApiOperation(value = "获取系统消息和公告详情", tags = {"用户端-首页"}, notes = "")
    @ApiImplicitParams({
            @ApiImplicitParam(value = "数据类型(1=公告,2=系统消息)", name = "type", required = true, dataType = "int"),
            @ApiImplicitParam(value = "数据id", name = "id", required = true, dataType = "int"),
            @ApiImplicitParam(name = "Authorization", value = "Bearer +token", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9.....")
    })
    public ResultUtil<Map<String, Object>> queryNoticesInfo(Integer type, Integer id){
        Map<String, Object> map = systemNoticeService.queryNoticesInfo(type, id);
        return ResultUtil.success(map);
    }
    /**
     * 阅读操作
     * @param id