public APIResult SetCommunityBase([FromBody] SetCommunityBaseArgsModel args) { var username = GetUsername(); _communityService.SetBase(args.CurrentCommunityFlag, args.Name, args.Ico); return(Success()); }
public APIResult SetCommunityBase([FromBody] SetCommunityBaseArgsModel args) { var username = GetUsername(); var flag = args.CommunityFlag; checkIsManager(flag, username); _communityService.SetBase(flag, args.Name, args.Ico); return(Success()); }