接口getAllInstallBots修改返回参数:repoOwners -> storeRepos
This commit is contained in:
parent
c046f73911
commit
508215c188
|
@ -1205,10 +1205,10 @@ public class UserService extends AbstractUserBot implements IUserService {
|
|||
if(botAndAllRepoOwnerMap.containsKey(installBot.getBotId())){
|
||||
s = botAndAllRepoOwnerMap.get(installBot.getBotId());
|
||||
}
|
||||
if (installBot.getRepoOwner() == null || (s.length() > 0 && s.toString().contains(installBot.getRepoOwner()))){
|
||||
if (installBot.getStoreRepo() == null || (s.length() > 0 && s.toString().contains(installBot.getStoreRepo()))){
|
||||
continue;
|
||||
}
|
||||
botAndAllRepoOwnerMap.put(installBot.getBotId(), s.add(installBot.getRepoOwner()));
|
||||
botAndAllRepoOwnerMap.put(installBot.getBotId(), s.add(installBot.getStoreRepo()));
|
||||
}
|
||||
|
||||
|
||||
|
@ -1224,7 +1224,7 @@ public class UserService extends AbstractUserBot implements IUserService {
|
|||
installBotInfo.setLimitVO(limitVO);
|
||||
BeanUtils.copyProperties(bot,installBotInfo);
|
||||
BeanUtils.copyProperties(installBot,installBotInfo);
|
||||
installBotInfo.setRepoOwners(String.valueOf(botAndAllRepoOwnerMap.get(installBotInfo.getBotId())));
|
||||
installBotInfo.setStoreRepos(String.valueOf(botAndAllRepoOwnerMap.get(installBotInfo.getBotId())));
|
||||
installBotInfos.add(installBotInfo);
|
||||
});
|
||||
|
||||
|
|
|
@ -32,5 +32,5 @@ public class InstallBotInfo {
|
|||
|
||||
LimitVO limitVO;
|
||||
|
||||
String repoOwners;
|
||||
String storeRepos;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue