22 lines
882 B
Java
22 lines
882 B
Java
package com.nanri.aiimage.config;
|
|
|
|
import lombok.Data;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
@Data
|
|
@ConfigurationProperties(prefix = "aiimage.appearance-patent")
|
|
public class AppearancePatentProperties {
|
|
private String cozeBaseUrl = "https://api.coze.cn";
|
|
private String cozeWorkflowPath = "/v1/workflow/run";
|
|
private String cozeWorkflowHistoryPath = "/v1/workflows/{workflow_id}/run_histories/{execute_id}";
|
|
private String cozeWorkflowId = "7632683471312355338";
|
|
private String cozeToken = "";
|
|
private int cozeBatchSize = 10;
|
|
private int cozeConnectTimeoutMillis = 10000;
|
|
private int cozeReadTimeoutMillis = 60000;
|
|
private int cozePollIntervalMillis = 5000;
|
|
private int cozePollTimeoutMillis = 600000;
|
|
private int staleTimeoutMinutes = 20;
|
|
private String staleFinalizeCron = "0 */2 * * * *";
|
|
}
|