spring: application: name: cadworld-api profiles: default: test sql: init: mode: never jackson: deserialization: fail-on-unknown-properties: true servlet: multipart: max-file-size: 8MB max-request-size: 9MB server: port: ${SERVER_PORT:8991} logging: level: root: INFO # 测试环境开启项目 DEBUG 时,仍不输出 SQL 参数或完整请求内容。 com.linkerbot.cadworld.mapper: INFO org.springframework.web: INFO mybatis-plus: configuration: map-underscore-to-camel-case: true app: auth: captcha-ttl: ${APP_AUTH_CAPTCHA_TTL:PT2M} token-ttl: ${APP_AUTH_TOKEN_TTL:PT24H} demand: api-key: ${ARK_API_KEY:} model: ${ARK_MODEL:doubao-seed-2-1-lite-260915} endpoint: ${ARK_ENDPOINT:https://ark.cn-beijing.volces.com/api/v3/responses} timeout: ${APP_DEMAND_TIMEOUT:PT3M} attachment-directory: ${APP_DEMAND_ATTACHMENT_DIRECTORY:/data/cadworld/demand-attachments} retention: ${APP_DEMAND_RETENTION:P7D} concurrent-analyses: ${APP_DEMAND_CONCURRENT_ANALYSES:4} allowed-origins: ${APP_DEMAND_ALLOWED_ORIGINS:} storage: # 配置公开 OSS/CDN 域名,不能填管理端下载代理地址;组件访问 URL 在响应时补全环境根目录。 public-base-url: ${APP_STORAGE_PUBLIC_BASE_URL:} oss: access-key-id: ${OSS_ACCESS_KEY_ID:} access-key-secret: ${OSS_ACCESS_KEY_SECRET:} region: ${OSS_REGION:oss-cn-beijing} bucket: ${OSS_BUCKET:linkerbot} matching: candidates-per-role: 50 preferred-candidates-per-role: 30 beam-width: 128 max-state-expansions: 50000 # 可追加或覆盖同义词组,例如: # synonyms: # "[跑步]": [奔跑, 跑动, running]