application-test.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. spring:
  2. datasource:
  3. url: jdbc:mysql://192.168.110.4:3306/qqflowengine?useUnicode=true&characterEncoding=UTF-8&connectionCollation=utf8mb4_unicode_ci&serverTimezone=Asia/Shanghai&forceConnectionTimeZoneToSession=true
  4. driver-class-name: com.mysql.cj.jdbc.Driver
  5. username: qqflowengine
  6. password: 123456
  7. data:
  8. redis:
  9. host: 192.168.110.4
  10. port: 6379
  11. password: redis123456
  12. sql:
  13. init:
  14. mode: always
  15. schema-locations: classpath:schema-mysql.sql
  16. mybatis-plus:
  17. mapper-locations: classpath*:/mapper/**/*.xml
  18. configuration:
  19. map-underscore-to-camel-case: true
  20. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 去掉,使用默认 SLF4J,只输出 SQL 不输出结果
  21. global-config:
  22. db-config:
  23. id-type: auto
  24. logic-delete-field: deleted
  25. logic-delete-value: 1
  26. logic-not-delete-value: 0
  27. jwt:
  28. # 测试环境密钥仅用于本地/CI,禁止用于生产;生产请通过环境变量 JWT_SECRET 注入
  29. secret: ${JWT_SECRET:qqflow-test-secret-key-2024-min-32chars}
  30. expiration: 86400000
  31. logging:
  32. level:
  33. root: info
  34. com.qqflow.engine: debug
  35. com.qqflow.engine.**.mapper: debug # MyBatis mapper SQL 语句日志(不输出结果集)
  36. # 企微
  37. enterprise-wechat:
  38. sCorp-id: ww76b6c51c3935e90d
  39. token: jGgY9aLKA
  40. encoding-a-eSKey: IycRI8M3tgTIHrFiwWnYWJn9I1o8iIsQrhNy8M4MWnT
  41. suite-id: dk0580416972e402b8
  42. suite-secret: 3aV48BTZHxDBeltZgdiRAUhttqsE5RxNs5pzElGhHHg
  43. agent-id: 1000095
  44. parent-id: 0
  45. # 企微 H5 审批端(textcard 跳转地址 + 企微 OAuth redirect 白名单)
  46. wecom:
  47. # 必须与企微应用「可信域名/网页授权域名」一致;未配置时审批消息会降级为纯文本
  48. h5-base-url: ${WECOM_H5_BASE_URL:http://test.wefanbot.com:13980}