mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-01-31 09:30:05 +08:00
【增加】增加 MidjourneyProperties 保存 url key 通知 url
This commit is contained in:
parent
8727c4de92
commit
b0b7a3df09
@ -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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user