lidongdong
2023-07-05 77b78d0ec7416097451c16516bb4a565f3f9e45d
修改新增社区 不同区域同名字社区添加报错
1个文件已修改
5 ■■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/applets_backstage/src/main/java/com/panzhihua/applets_backstage/api/CommunityApi.java 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/applets_backstage/src/main/java/com/panzhihua/applets_backstage/api/CommunityApi.java
@@ -56,6 +56,7 @@
    @OperLog(operModul = "社区管理", operType = 1)
    public R addCommunity(@Validated(AddGroup.class) @RequestBody ComActVO comActVO) {
        comActVO.setAppId(getAppId());
        comActVO.setCommunityId(Snowflake.getId());
        R r = communityService.addCommunity(comActVO);
//        System.out.print("参数1"+JSONObject.toJSONString(r.getData()));
//        ComActVO comActVO2 = JSONObject.parseObject(JSONObject.toJSONString(r.getData()), ComActVO.class);
@@ -64,8 +65,8 @@
//            System.out.print("参数3"+JSONObject.toJSONString(r.getData()));
            ComActVO comActVO1 = JSONObject.parseObject(JSONObject.toJSONString(r.getData()), ComActVO.class);
            Long communityId = comActVO1.getCommunityId();
//            ComActVO comActVO1 = JSONObject.parseObject(JSONObject.toJSONString(r.getData()), ComActVO.class);
            Long communityId = comActVO.getCommunityId();
            AdministratorsUserVO administratorsUserVO = new AdministratorsUserVO();
            administratorsUserVO.setAccount(comActVO.getAccount());
            administratorsUserVO.setPassword(comActVO.getPassword());