增加紫鸟相关接口

This commit is contained in:
super
2026-03-25 21:33:49 +08:00
parent 8cfaab49fb
commit 6434ec3e00
18 changed files with 764 additions and 1 deletions

View File

@@ -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;
}