【增加】增加 MidjourneyProperties 保存 url key 通知 url

This commit is contained in:
cherishsince 2024-06-05 15:20:41 +08:00
parent 8727c4de92
commit b0b7a3df09

View File

@ -0,0 +1,22 @@
package cn.iocoder.yudao.module.ai.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
/**
* Midjourney 属性
*
* @author fansili
* @time 2024/6/5 15:02
* @since 1.0
*/
@Configuration
@ConfigurationProperties(prefix = "ai.midjourney-proxy")
@Data
public class MidjourneyProperties {
private String key;
private String url;
private String notifyUrl;
}