lidongdong
2023-07-05 be35e6e6ed03852907579396a5799346f7010563
修改新增社区 不同区域同名字社区添加报错
1个文件已修改
6 ■■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/applets_backstage/src/main/java/com/panzhihua/applets_backstage/api/CommunityApi.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/applets_backstage/src/main/java/com/panzhihua/applets_backstage/api/CommunityApi.java
@@ -57,7 +57,13 @@
    public R addCommunity(@Validated(AddGroup.class) @RequestBody ComActVO comActVO) {
        comActVO.setAppId(getAppId());
        R r = communityService.addCommunity(comActVO);
        System.out.print("参数1"+JSONObject.toJSONString(r.getData()));
        ComActVO comActVO2 = JSONObject.parseObject(JSONObject.toJSONString(r.getData()), ComActVO.class);
        System.out.print("参数2"+comActVO2.getCommunityId());
        if (R.isOk(r)) {
            System.out.print("参数3"+JSONObject.toJSONString(r.getData()));
            ComActVO comActVO1 = JSONObject.parseObject(JSONObject.toJSONString(r.getData()), ComActVO.class);
            Long communityId = comActVO1.getCommunityId();
            AdministratorsUserVO administratorsUserVO = new AdministratorsUserVO();