mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-01-31 09:30:05 +08:00
【todo】增加todo
This commit is contained in:
parent
24a9d05179
commit
8f68d64cd7
@ -117,6 +117,7 @@ public class AiApiKeyServiceImpl implements AiApiKeyService {
|
||||
public MidjourneyApi getMidjourneyApi() {
|
||||
AiApiKeyDO apiKey = apiKeyMapper.selectFirstByPlatformAndStatus(
|
||||
AiPlatformEnum.MIDJOURNEY.getPlatform(), CommonStatusEnum.ENABLE.getStatus());
|
||||
// todo @芋艿 这些地方直接抛异常会好点,不然调用到的地方都需要做判断
|
||||
if (apiKey == null) {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user