application-prod-113.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. spring:
  2. datasource:
  3. driver-class-name: com.mysql.cj.jdbc.Driver
  4. url: jdbc:mysql://172.18.0.2:3306/common_data?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  5. username: common_data
  6. password: mT2SP7iF5B8xnAzN
  7. redis:
  8. host: 172.18.0.3
  9. port: 6379
  10. password: redis_WM8HCp
  11. jackson:
  12. time-zone: Asia/Shanghai
  13. date-format: yyyy-MM-dd HH:mm:ss
  14. mybatis:
  15. mapper-locations: classpath:mapper/*.xml
  16. type-aliases-package: com.huashe.common.domain.model,com.huashe.common.weather.model
  17. holiday:
  18. cron: 0 0 8 1 * ?
  19. url: https://unpkg.com/holiday-calendar@1.1.6/data/CN/#year#.json
  20. weather:
  21. cron: 0 15 6 * * ?
  22. # 服务提供商
  23. service-provider: juhe
  24. region:
  25. conf-adcodes: 321200
  26. juhe:
  27. url: http://apis.juhe.cn/simpleWeather/query?key=${weather.juhe.key}&city=#{cityname}
  28. key: b2fce586f8784078f78deca9a5238ba8
  29. weatherList:
  30. - '1101:晴'
  31. - '1103:多云'
  32. - '1106:阴'
  33. - '2200:雪'
  34. - '2100:雨'
  35. - '4100:雾'
  36. - '4200:霾'
  37. - '4300:沙'
  38. - '4300:尘'
  39. amap:
  40. url: https://restapi.amap.com/v3/weather/weatherInfo?key=${weather.amap.key}&city=#{adcode}&extensions=#{extensions}&output=JSON
  41. key:
  42. weatherList:
  43. - '1101:晴'
  44. - '1103:多云'
  45. - '1106:阴'
  46. - '2200:雪'
  47. - '2100:雨'
  48. - '4100:雾'
  49. - '4200:霾'
  50. - '4300:沙'
  51. - '4300:尘'