扫描
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
package com.senmesh.sdk.dify.config;
|
||||
|
||||
import java.io.Serializable;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* Dify配置属性
|
||||
*
|
||||
* @author sr
|
||||
*/
|
||||
@ConfigurationProperties(prefix = DifyProperties.PREFIX)
|
||||
@Data
|
||||
@Component
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class DifyProperties implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public static final String PREFIX = "dify";
|
||||
|
||||
/** Dify服务地址 */
|
||||
private String host;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user