application.yml 1.4 KB

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