application.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. spring:
  2. application:
  3. name: gdt-auto
  4. version: v1.0.0
  5. servlet:
  6. multipart:
  7. max-file-size: 100MB
  8. max-request-size: 100MB
  9. profiles:
  10. active: test
  11. # https://docs.spring.io/spring-ai/reference/api/mcp/mcp-server-boot-starter-docs.html
  12. ai:
  13. mcp:
  14. server:
  15. enabled: false
  16. name: "腾讯快速投放"
  17. version: "2.0.0"
  18. sse-endpoint: /mcp/sse
  19. # Jackson配置
  20. jackson:
  21. date-format: yyyy-MM-dd HH:mm:ss
  22. time-zone: GMT+8
  23. default-property-inclusion: non_null
  24. # MyBatis Plus配置
  25. mybatis-plus:
  26. mapper-locations: classpath*:/mapper/**/*.xml
  27. type-aliases-package: com.moka.gdtauto.entity
  28. global-config:
  29. db-config:
  30. id-type: auto
  31. logic-delete-field: deleted
  32. logic-delete-value: 1
  33. logic-not-delete-value: 0
  34. banner: false
  35. configuration:
  36. map-underscore-to-camel-case: true
  37. cache-enabled: false
  38. log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
  39. # Server配置
  40. server:
  41. port: 8080
  42. servlet:
  43. context-path: /
  44. tomcat:
  45. uri-encoding: UTF-8
  46. threads:
  47. max: 200
  48. min-spare: 10
  49. # Plumelog配置
  50. plumelog:
  51. env: ${spring.profiles.active}
  52. redis:
  53. host: r-uf6odtyjx4otfkczwhpd.redis.rds.aliyuncs.com
  54. port: 52525
  55. auth: NTZY_LOg666%$_redis
  56. # 腾讯广告API配置
  57. tencent:
  58. ads:
  59. user-token-redirect-uri: https://moka-auto.mokamrp.com/api/user/user-token-callback
  60. oauth-redirect-uri: https://moka-auto.mokamrp.com/api/gdt/auth/callback
  61. oauth-ok-redirect-uri: https://moka-auto.mokamrp.com/api/gdt/auth/ok
  62. client-id: 1112036271
  63. secret: CPemSOpMcp8KO1Ie
  64. # 阿里云OSS配置
  65. aliyun:
  66. oss:
  67. bucket-name: ad-auto
  68. cdn-domain: https://ad-autoss.luzie.cn