From 06c7d2f305b6da77841d32fa5d11e2c2b620f549 Mon Sep 17 00:00:00 2001 From: fengjin <1435304038@qq.com> Date: 星期四, 14 九月 2023 09:36:08 +0800 Subject: [PATCH] 人脸识别等一帕拉功能 --- springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/CommunityApi.java | 21 +++++++++++++++++---- 1 files changed, 17 insertions(+), 4 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/CommunityApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/CommunityApi.java index 772e017..addf559 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/CommunityApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/CommunityApi.java @@ -75,10 +75,10 @@ @ApiOperation(value = "分页获取社区动态", response = ComActDynVO.class) @PostMapping("pagedynamic") public R pageDynamic(@RequestBody ComActDynVO comActDynVO) { - LoginUserInfoVO loginUserInfo = this.getLoginUserInfoSureNoLogin(); - if (loginUserInfo != null) { - comActDynVO.setCommunityId(loginUserInfo.getCommunityId()); - } +// LoginUserInfoVO loginUserInfo = this.getLoginUserInfoSureNoLogin(); +// if (loginUserInfo != null) { +// comActDynVO.setCommunityId(loginUserInfo.getCommunityId()+""); +// } comActDynVO.setIsTopping(null); comActDynVO.setStatus(1); Integer category = comActDynVO.getCategory(); @@ -88,6 +88,19 @@ return communityService.pageDynamic(comActDynVO); } + @ApiOperation(value = "分页查项目活动") + @PostMapping("projectPageActivity") + public R projectPageActivity(@RequestBody ComActActivityVO comActActivityVO) { + Long projectId = comActActivityVO.getProjectId(); + if (isNull(projectId)) { + Long communityId = this.getCommunityId(); + comActActivityVO.setCommunityId(communityId); + } + // return communityService.pageActivity(ComActActivityVO); + return communityService.pageActivityCommunityBack(comActActivityVO); + } + + @ApiOperation(value = "社区动态详情", response = ComActDynVO.class) @GetMapping("detaildynamic") @ApiImplicitParam(name = "id", value = "社区动态主键", required = true) -- Gitblit v1.7.1