修改getBotDetail
This commit is contained in:
parent
52e603af7e
commit
d07897ae70
|
|
@ -230,7 +230,7 @@ public class MarketService implements IMarketService {
|
||||||
}
|
}
|
||||||
BeanUtils.copyProperties(registerBot,getBotDetailResponse);
|
BeanUtils.copyProperties(registerBot,getBotDetailResponse);
|
||||||
// 设置开发者名称
|
// 设置开发者名称
|
||||||
getBotDetailResponse.setDeveloperName(api.getUserNameByUid(bot.getOwnerId().toString()));
|
getBotDetailResponse.setDeveloperName(api.getUserNameByUid(registerBot.getDeveloperId().toString()));
|
||||||
getBotDetailResponse.setLimitAndEvents(getLimitFromLimitEvents(botLimitEvents));
|
getBotDetailResponse.setLimitAndEvents(getLimitFromLimitEvents(botLimitEvents));
|
||||||
return getBotDetailResponse;
|
return getBotDetailResponse;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue