# CRMEB 相关配置 crmeb: imagePath: /www/wwwroot/crmebimage/ # 服务器图片路径配置 斜杠结尾 asyncConfig: true #是否同步config表数据到redis server: port: 20822 spring: datasource: name: shop-msh type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://49.235.131.69:3306/${spring.datasource.name}?useUnicode=true&serverTimezone=GMT%2B8&characterEncoding=utf8 username: root password: mogu2018 # Druid连接池配置 druid: initial-size: 5 min-idle: 5 max-active: 20 # 禁用验证查询,解决与MySQL 8驱动的兼容性问题 validation-query: SELECT 1 test-while-idle: false test-on-borrow: false test-on-return: false pool-prepared-statements: false max-pool-prepared-statement-per-connection-size: 20 filters: stat,wall redis: host: 49.235.131.69 #地址 118.89.113.119 49.235.131.69 port: 6379 #端口 password: 'mogu2018' timeout: 10000 # 连接超时时间(毫秒) database: 3 #默认数据库 jedis: pool: max-active: 200 # 连接池最大连接数(使用负值表示没有限制) max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) max-idle: 10 # 连接池中的最大空闲连接 min-idle: 0 # 连接池中的最小空闲连接 time-between-eviction-runs: -1 #逐出扫描的时间间隔(毫秒) 如果为负数,则不运行逐出线程, 默认-1 second: database: 23 # 微信accessToken存储库 debug: true logging: level: io.swagger.*: error com.zbjk.crmeb: debug org.springframework.boot.autoconfigure: ERROR config: classpath:logback-spring.xml file: path: ./logs # mybatis 配置 mybatis-plus: # 配置sql打印日志 configuration: log-impl: #swagger 配置 swagger: basic: enable: true #是否开启界面 check: false #是否打开验证 username: www #访问swagger的账号 password: www.com #访问swagger的密码 # Coze API 配置 coze: api: base-url: https://api.coze.cn auth-type: pat # pat 或 jwt token: pat_fGSD3Jax9VNWOJ7yrjke8R1XjeLWQCT2amc2gk4xBI68OPrnlFGwkOAMS2xk5XuY # 有效期30天 # JWT 模式配置(当 auth-type=jwt 时使用) client-id: 1180790412263 private-key-file: classpath:coze-1180790412263-private_key.pem public-key-id: s4lCkPcYns0EjyIZF5EqnAC58k7-NMZVEVdDkW0exyQ connect-timeout: 30000 read-timeout: 60000 # Bot 和用户配置 default-bot-id: 7591133240535449654 default-user-id: 3243981400446844 # 工作流配置 nutrition-analysis-workflow-id: 1180790412263 #饮食打卡记录ai分析 diet-analysis-id: 1180790412263 # 腾讯云语音识别配置 tencent-asr: # API密钥ID secret-id: AKID76sRn273nPuCJJ6h0GNbv78zhEaosz0p # API密钥Key(需要在实际使用时提供) secret-key: kKm6FQWUNJTjuvjNo23qQozWzISuY1IL region: ap-shanghai connect-timeout: 30000 read-timeout: 60000 default-engine-model: 16k_zh default-res-text-format: 0 default-channel-num: 1 enabled: true # KieAI API 配置 kie-ai: base-url: https://api.kie.ai api-token: 484661585fe62c5bcb77e6d392ba8ee8 api-callback-url: https://sophia-shop.uj345.cc/api/front/kieai/callback api-upload-base-url: https://kieai.redpandaai.co connect-timeout: 30000 read-timeout: 60000 max-retries: 3 retry-interval: 1000 poll-interval: 2000 max-wait-time: 300000 callback-enabled: true default-output-format: png default-image-size: "1:1"