| | |
| | | @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); |
| | |
| | | |
| | | // 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()); |