增加紫鸟相关接口
This commit is contained in:
@@ -4,6 +4,6 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
@EnableConfigurationProperties({OssProperties.class, StorageProperties.class, BrandProgressProperties.class})
|
||||
@EnableConfigurationProperties({OssProperties.class, StorageProperties.class, BrandProgressProperties.class, ZiniaoProperties.class})
|
||||
public class PropertiesConfig {
|
||||
}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.nanri.aiimage.config;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
@Data
|
||||
@ConfigurationProperties(prefix = "aiimage.ziniao")
|
||||
public class ZiniaoProperties {
|
||||
private boolean enabled;
|
||||
private String baseUrl;
|
||||
private String apiKey;
|
||||
private Long companyId;
|
||||
private String shopsPath;
|
||||
private String switchShopPath;
|
||||
private String openStoreScheme;
|
||||
private String openStoreUserId;
|
||||
private String openStoreLaunchUrl;
|
||||
private Boolean openStoreAutoOpen;
|
||||
private Integer openStoreDebugPort;
|
||||
private Boolean openStoreNotPromptForDownload;
|
||||
private String openStoreForceDownloadPath;
|
||||
private String openStoreExtraArgs;
|
||||
private long sessionTtlHours;
|
||||
private long shopsCacheMinutes;
|
||||
private int connectTimeoutSeconds;
|
||||
private int readTimeoutSeconds;
|
||||
}
|
||||
Reference in New Issue
Block a user