|
|
@ -41,6 +41,12 @@ public class CommunityManageController { |
|
|
|
@Autowired |
|
|
|
private CommunityManageService communityManageService; |
|
|
|
|
|
|
|
@PostMapping("getSign") |
|
|
|
public Result<String> getSign(@RequestBody SignFormDTO dto) { |
|
|
|
String data = communityManageService.getSign(dto.getUrl()); |
|
|
|
return new Result<String>().ok(data); |
|
|
|
} |
|
|
|
|
|
|
|
@PostMapping("addCommunity") |
|
|
|
public Result<GlobalResultDTO> addCommunity(@RequestBody CommunityAddFormDTO dto) { |
|
|
|
GlobalResultDTO data = communityManageService.addCommunity(dto); |
|
|
|