From 3adc08889d2cbf5ea0b7759bfa4b4a19b9d44f4b Mon Sep 17 00:00:00 2001 From: yanghui <2536613402@qq.com> Date: 星期一, 05 十二月 2022 17:33:00 +0800 Subject: [PATCH] #feat ,, --- springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java index b5b0b4e..3f45bf0 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java @@ -108,9 +108,7 @@ return R.fail("用户未绑定社区"); } Long userId = loginUserInfo.getUserId(); - if (null==comActEasyPhotoVO.getCommunityId()){ - comActEasyPhotoVO.setCommunityId(communityId); - } + comActEasyPhotoVO.setCommunityId(communityId); comActEasyPhotoVO.setSponsorId(userId); comActEasyPhotoVO.setStatus(1); return communityService.addEasyPhoto(comActEasyPhotoVO); -- Gitblit v1.7.1