feat: 删除冗余接口

This commit is contained in:
JR
2025-08-02 16:40:16 +08:00
parent bac9fbd1fb
commit 9f89ef9fcb
14 changed files with 106 additions and 646 deletions

View File

@@ -0,0 +1,27 @@
package com.klp.common.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@Data
@Component
@ConfigurationProperties(prefix = "image.recognition")
public class ImageRecognitionConfig {
/**
* AI API配置
*/
private String apiUrl;
private String modelName;
private String apiKey;
private Integer maxRetries = 3;
private Double temperature = 0.0;
private Integer maxTokens = 4096;
/**
* 图片处理配置
*/
private Integer maxImageDimension = 512;
private Integer imageQuality = 60;
}