application-test.yml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. management:
  2. endpoints:
  3. web:
  4. exposure:
  5. include: metrics,httptrace
  6. spring:
  7. rabbitmq:
  8. host: 39.106.184.70
  9. port: 5672
  10. username: guest
  11. password: guest
  12. servlet:
  13. multipart:
  14. max-file-size: -1
  15. max-request-size: -1
  16. mail:
  17. host: smtp.163.com
  18. username: jeecgos@163.com
  19. password: ??
  20. properties:
  21. mail:
  22. smtp:
  23. auth: true
  24. starttls:
  25. enable: true
  26. required: true
  27. #json 时间戳统一转换
  28. jackson:
  29. date-format: yyyy-MM-dd HH:mm:ss
  30. time-zone: GMT+8
  31. aop:
  32. proxy-target-class: true
  33. #配置freemarker
  34. freemarker:
  35. # 设置模板后缀名
  36. suffix: .ftl
  37. # 设置文档类型
  38. content-type: text/html
  39. # 设置页面编码格式
  40. charset: UTF-8
  41. # 设置页面缓存
  42. cache: false
  43. prefer-file-system-access: false
  44. # 设置ftl文件路径
  45. template-loader-path:
  46. - classpath:/templates
  47. # 设置静态文件路径,js,css等
  48. mvc:
  49. static-path-pattern: /**
  50. resource:
  51. static-locations: classpath:/static/,classpath:/public/
  52. autoconfigure:
  53. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  54. datasource:
  55. druid:
  56. stat-view-servlet:
  57. enabled: true
  58. loginUsername: admin
  59. loginPassword: 123456
  60. web-stat-filter:
  61. enabled: true
  62. dynamic:
  63. druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)
  64. # 连接池的配置信息
  65. # 初始化大小,最小,最大
  66. connection-init-sql: set names utf8mb4
  67. initial-size: 5
  68. min-idle: 5
  69. maxActive: 20
  70. # 配置获取连接等待超时的时间
  71. maxWait: 60000
  72. # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  73. timeBetweenEvictionRunsMillis: 60000
  74. # 配置一个连接在池中最小生存的时间,单位是毫秒
  75. minEvictableIdleTimeMillis: 300000
  76. validationQuery: SELECT 1 FROM DUAL
  77. testWhileIdle: true
  78. testOnBorrow: false
  79. testOnReturn: false
  80. # 打开PSCache,并且指定每个连接上PSCache的大小
  81. poolPreparedStatements: true
  82. maxPoolPreparedStatementPerConnectionSize: 20
  83. # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
  84. filters: stat,slf4j
  85. # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
  86. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  87. datasource:
  88. master:
  89. url: jdbc:mysql://39.106.184.70:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
  90. username: hcst
  91. password: test@20190531
  92. driver-class-name: com.mysql.jdbc.Driver
  93. # 多数据源配置
  94. #redis 配置
  95. redis:
  96. database: 0
  97. host: 127.0.0.1
  98. lettuce:
  99. pool:
  100. max-active: 8 #最大连接数据库连接数,设 0 为没有限制
  101. max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
  102. max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
  103. min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
  104. shutdown-timeout: 100ms
  105. password: ''
  106. port: 6379
  107. #mybatis plus 设置
  108. mybatis-plus:
  109. mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml,classpath*:cn/com/ctop/**/xml/*Mapper.xml
  110. global-config:
  111. # 关闭MP3.0自带的banner
  112. banner: false
  113. db-config:
  114. #主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)";
  115. id-type: 4
  116. # 默认数据库表下划线命名
  117. table-underline: true
  118. configuration:
  119. # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
  120. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  121. #jeecg专用配置
  122. jeecg:
  123. ffmpeg:
  124. bin: D:\java\ffmpeg\bin\ffmpeg.exe
  125. path:
  126. #文件上传根目录 设置
  127. #文件上传根目录 设置
  128. upload: /data/upload
  129. #webapp文件路径
  130. webapp: /data/webapp
  131. video-upload: /data/upload/video/
  132. image-upload: /data/upload/image/
  133. chrome-driver: /usr/bin/chromedriver
  134. csv-upload: /data/upload/csv/
  135. report-history: /data/report/history/
  136. report-daily: /data/report/daily/
  137. kuaishou:
  138. api-url: https://ad.e.kuaishou.com
  139. auth-url: https://ad.e.kuaishou.com
  140. appid: 27
  141. third-appid: 328
  142. oauth-type: agent
  143. secret: QovprB1tNhXptgDc
  144. third-secret: 1iFTBiMdohkyEQQs
  145. callback-url: http://adsp.c-top.com.cn:8080/jeecg-boot/kuaishou
  146. third-callback-url: http://callback.shyouteng.com.cn/kuaishou
  147. apk-sava-path: /mnt/file/apk
  148. image-sava-path: /mnt/file/image
  149. video-sava-path: /mnt/file/video
  150. model-video-src-path: /mnt/data/src/
  151. model-video-fill-path: /mnt/data/fill/
  152. model-video-final-path: /mnt/data/final/
  153. group-control:
  154. path: http://39.106.184.70
  155. port: 4723
  156. logging:
  157. level:
  158. root: info
  159. config: classpath:logback-test.xml
  160. chrome:
  161. script:
  162. clean: sh /mnt/webapp/cleanProcess.sh
  163. oss:
  164. replace:
  165. replace-value: oss-cn-beijing-internal
  166. replace-old-value: oss-cn-beijing
  167. download: /mnt/file/video/
  168. bytedance:
  169. appId: 1635316529903624
  170. secret: 0c51523e90d6166418fc8421a4896808e90e26f4
  171. url:
  172. auth-prefix: https://ad.oceanengine.com/openapi
  173. api-prefix: https://ad.oceanengine.com/open_api
  174. callback-url: http://adsp.c-top.com.cn:8080/jeecg-boot/bytedance
  175. refresh-token: /oauth2/refresh_token
  176. advertiser-info: /2/advertiser/public_info/
  177. ad-get: /2/ad/get/
  178. ad-create: /2/ad/create/
  179. ad-update: /2/ad/update/
  180. ad-update-status: /2/ad/update/status/
  181. ad-update-bid: /2/ad/update/bid/
  182. ad-update-budget: /2/ad/update/budget/
  183. ad-update-reject-reason: 2/ad/reject_reason/
  184. campaign-get: /2/campaign/get/
  185. campaign-create: /2/campaign/create/
  186. campaign-update-status: /2/campaign/update/status/
  187. campaign-update: /2/campaign/update/
  188. dmp-custom-audience-select: /2/dmp/custom_audience/select/
  189. file-video-ad: /2/file/video/ad/
  190. file-image-ad: /2/file/image/ad/
  191. creative-update-status: /2/creative/update/status/
  192. creative-material-get: /2/creative/material/read/
  193. creative-create-v2: /2/creative/create_v2/
  194. creative-get: /2/creative/get/
  195. creative-read: /2/creative/read_v2/
  196. creative-update: /2/creative/update_v2/
  197. creative-reject-reason: /2/creative/reject_reason/
  198. advertiser-report-get: /2/report/advertiser/get/
  199. campaign-report-get: /2/report/campaign/get/
  200. ad-report-get: /2/report/ad/get/
  201. ad-creative-get: /2/report/creative/get/
  202. advertiser-fund-daily-stat: /2/advertiser/fund/daily_stat/
  203. xxl:
  204. job:
  205. accessToken:
  206. executor:
  207. appname: module-job-kuaishou
  208. port: 9998
  209. ip:
  210. logpath: /data/applogs/xxl-job/jobhandler
  211. logretentiondays: 30
  212. admin:
  213. addresses: http://127.0.0.1:8090/xxl-job-admin