application-test.yml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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. #multi-datasource1:
  95. #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  96. #username: root
  97. #password: root
  98. #driver-class-name: com.mysql.jdbc.Driver
  99. #redis 配置
  100. redis:
  101. database: 0
  102. host: 127.0.0.1
  103. lettuce:
  104. pool:
  105. max-active: 8 #最大连接数据库连接数,设 0 为没有限制
  106. max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
  107. max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
  108. min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
  109. shutdown-timeout: 100ms
  110. password: ''
  111. port: 6379
  112. #mybatis plus 设置
  113. mybatis-plus:
  114. mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml,classpath*:cn/com/ctop/**/xml/*Mapper.xml
  115. global-config:
  116. # 关闭MP3.0自带的banner
  117. banner: false
  118. db-config:
  119. #主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)";
  120. id-type: 4
  121. # 默认数据库表下划线命名
  122. table-underline: true
  123. configuration:
  124. # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
  125. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  126. #jeecg专用配置
  127. jeecg:
  128. elasticsearch:
  129. cluster-nodes:
  130. check-enabled: false
  131. uploadType:
  132. oss:
  133. endpoint:
  134. accessKey:
  135. secretKey:
  136. bucketName:
  137. staticDomain:
  138. sms:
  139. accessKeyId:
  140. accessKeySecret:
  141. minio:
  142. minio_url:
  143. minio_name:
  144. minio_pass:
  145. bucketName:
  146. ffmpeg:
  147. bin: D:\java\ffmpeg\bin\ffmpeg.exe
  148. path:
  149. #文件上传根目录 设置
  150. #文件上传根目录 设置
  151. upload: /data/upload
  152. #webapp文件路径
  153. webapp: /data/webapp
  154. video-upload: /data/upload/video/
  155. image-upload: /data/upload/image/
  156. chrome-driver: /usr/bin/chromedriver
  157. csv-upload: /data/upload/csv/
  158. report-history: /data/report/history/
  159. report-daily: /data/report/daily/
  160. kuaishou:
  161. api-url: https://ad.e.kuaishou.com
  162. auth-url: https://ad.e.kuaishou.com
  163. appid: 27
  164. third-appid: 328
  165. oauth-type: agent
  166. secret: QovprB1tNhXptgDc
  167. third-secret: 1iFTBiMdohkyEQQs
  168. callback-url: http://adsp.c-top.com.cn:8080/jeecg-boot/kuaishou
  169. third-callback-url: http://callback.shyouteng.com.cn/kuaishou
  170. apk-sava-path: /mnt/file/apk
  171. image-sava-path: /mnt/file/image
  172. video-sava-path: /mnt/file/video
  173. model-video-src-path: /mnt/data/src/
  174. model-video-fill-path: /mnt/data/fill/
  175. model-video-final-path: /mnt/data/final/
  176. group-control:
  177. path: http://39.106.184.70
  178. port: 4723
  179. logging:
  180. level:
  181. root: info
  182. config: classpath:logback-test.xml
  183. chrome:
  184. script:
  185. clean: sh /mnt/webapp/cleanProcess.sh
  186. oss:
  187. replace:
  188. replace-value: oss-cn-beijing-internal
  189. replace-old-value: oss-cn-beijing
  190. download: /mnt/file/video/
  191. bytedance:
  192. appId: 1635316529903624
  193. secret: 0c51523e90d6166418fc8421a4896808e90e26f4
  194. url:
  195. auth-prefix: https://ad.oceanengine.com/openapi
  196. api-prefix: https://ad.oceanengine.com/open_api
  197. callback-url: http://adsp.c-top.com.cn:8080/jeecg-boot/bytedance
  198. refresh-token: /oauth2/refresh_token
  199. advertiser-info: /2/advertiser/public_info/
  200. ad-get: /2/ad/get/
  201. ad-create: /2/ad/create/
  202. ad-update: /2/ad/update/
  203. ad-update-status: /2/ad/update/status/
  204. ad-update-bid: /2/ad/update/bid/
  205. ad-update-budget: /2/ad/update/budget/
  206. ad-update-reject-reason: 2/ad/reject_reason/
  207. campaign-get: /2/campaign/get/
  208. campaign-create: /2/campaign/create/
  209. campaign-update-status: /2/campaign/update/status/
  210. campaign-update: /2/campaign/update/
  211. dmp-custom-audience-select: /2/dmp/custom_audience/select/
  212. file-video-ad: /2/file/video/ad/
  213. file-image-ad: /2/file/image/ad/
  214. creative-update-status: /2/creative/update/status/
  215. creative-material-get: /2/creative/material/read/
  216. creative-create-v2: /2/creative/create_v2/
  217. creative-get: /2/creative/get/
  218. creative-read: /2/creative/read_v2/
  219. creative-update: /2/creative/update_v2/
  220. creative-reject-reason: /2/creative/reject_reason/
  221. advertiser-report-get: /2/report/advertiser/get/
  222. campaign-report-get: /2/report/campaign/get/
  223. ad-report-get: /2/report/ad/get/
  224. ad-creative-get: /2/report/creative/get/
  225. advertiser-fund-daily-stat: /2/advertiser/fund/daily_stat/
  226. xxl:
  227. job:
  228. accessToken:
  229. executor:
  230. appname: module-job-bytedance
  231. port: 9998
  232. ip:
  233. logpath: /data/applogs/xxl-job/jobhandler
  234. logretentiondays: 30
  235. admin:
  236. addresses: http://127.0.0.1:8090/xxl-job-admin