2026-02-23 17:26:27 +00:00
|
|
|
package com.wecom.robot.config;
|
|
|
|
|
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
|
|
|
@Data
|
|
|
|
|
@Component
|
|
|
|
|
@ConfigurationProperties(prefix = "ai-service")
|
|
|
|
|
public class AiServiceConfig {
|
|
|
|
|
|
|
|
|
|
private String url;
|
|
|
|
|
|
|
|
|
|
private int timeout = 5000;
|
2026-02-25 17:01:16 +00:00
|
|
|
|
2026-02-26 12:59:39 +00:00
|
|
|
private String tenantId = "default@ash@2026";
|
|
|
|
|
|
|
|
|
|
private String apiKey = "tDXu09--IZutcI2h06DCR5WkK9Oi9waTKyUxhaxl5oE";
|
2026-02-23 17:26:27 +00:00
|
|
|
}
|