|
@@ -186,6 +186,17 @@ aikanshe:
|
|
|
confidence: ${AIKANSHE_CONFIDENCE:0.2}
|
|
confidence: ${AIKANSHE_CONFIDENCE:0.2}
|
|
|
lang: ${AIKANSHE_LANG:zh-CN}
|
|
lang: ${AIKANSHE_LANG:zh-CN}
|
|
|
|
|
|
|
|
|
|
+# 爱云医 AI 检测网关(ai.aiyunyi.gateway,S-cfc-471)
|
|
|
|
|
+# 绑定 AiYunyiProperties(@ConfigurationProperties(prefix="aiyunyi"));
|
|
|
|
|
+# AppKey/RSA 密钥仅经环境变量注入,绝不下发前端(设计 §3.1/§4.5)。
|
|
|
|
|
+aiyunyi:
|
|
|
|
|
+ app-key: ${AIYUNYI_APP_KEY:app-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}
|
|
|
|
|
+ private-key: ${AIYUNYI_RSA_PRIVATE_KEY:}
|
|
|
|
|
+ public-key: ${AIYUNYI_RSA_PUBLIC_KEY:}
|
|
|
|
|
+ base-url: ${AIYUNYI_BASE_URL:https://devadmin.aicds.com.cn/open-api}
|
|
|
|
|
+ timeout-ms: ${AIYUNYI_TIMEOUT_MS:5000}
|
|
|
|
|
+ read-timeout-ms: ${AIYUNYI_READ_TIMEOUT_MS:15000}
|
|
|
|
|
+
|
|
|
upload:
|
|
upload:
|
|
|
base-dir: /data/cfc-uploads
|
|
base-dir: /data/cfc-uploads
|
|
|
allowed-types: image/jpeg,image/png,image/gif,image/webp,application/pdf,audio/mpeg,audio/wav
|
|
allowed-types: image/jpeg,image/png,image/gif,image/webp,application/pdf,audio/mpeg,audio/wav
|