application-dev.yml 6.6 KB

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