application-dev.yml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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. elasticsearch:
  106. cluster-nodes:
  107. check-enabled: false
  108. uploadType:
  109. oss:
  110. endpoint:
  111. accessKey:
  112. secretKey:
  113. bucketName:
  114. staticDomain:
  115. sms:
  116. accessKeyId:
  117. accessKeySecret:
  118. minio:
  119. minio_url:
  120. minio_name:
  121. minio_pass:
  122. bucketName:
  123. ffmpeg:
  124. bin: D:\java\ffmpeg\bin\ffmpeg.exe
  125. path:
  126. #文件上传根目录 设置
  127. upload: D://upFiles
  128. #webapp文件路径
  129. webapp: D://webapp
  130. video-upload: D://upFiles//video//
  131. image-upload: D://upFiles//image//
  132. chrome-driver: D://chromedriver.exe
  133. csv-upload: D://upFiles//csv//
  134. report-history: D://report//history//
  135. report-daily: D://report//daily//
  136. kuaishou:
  137. api-url: https://ad.e.kuaishou.com
  138. auth-url: https://ad.e.kuaishou.com
  139. appid: 27
  140. third-appid: 328
  141. oauth-type: agent
  142. secret: QovprB1tNhXptgDc
  143. third-secret: 1iFTBiMdohkyEQQs
  144. callback-url: http://adsp.c-top.com.cn:8080/jeecg-boot/kuaishou
  145. third-callback-url: http://callback.shyouteng.com.cn/kuaishou
  146. apk-sava-path: /mnt/file/apk
  147. image-sava-path: /mnt/file/image
  148. video-sava-path: /mnt/file/video
  149. model-video-src-path: /mnt/data/src/
  150. model-video-fill-path: /mnt/data/fill/
  151. model-video-final-path: /mnt/data/final/
  152. group-control:
  153. path: http://39.106.184.70
  154. port: 4723
  155. logging:
  156. level:
  157. root: info
  158. config: classpath:logback-dev.xml
  159. chrome:
  160. script:
  161. clean: sh /mnt/webapp/cleanProcess.sh
  162. oss:
  163. replace:
  164. replace-value: oss-cn-beijing
  165. replace-old-value: oss-cn-beijing
  166. download: D:\mnt\file\video
  167. bytedance:
  168. appId: 1635316529903624
  169. secret: 0c51523e90d6166418fc8421a4896808e90e26f4
  170. url:
  171. auth-prefix: https://ad.oceanengine.com/openapi
  172. api-prefix: https://ad.oceanengine.com/open_api
  173. callback-url: http://adsp.c-top.com.cn:8080/jeecg-boot/bytedance
  174. refresh-token: /oauth2/refresh_token
  175. advertiser-info: /2/advertiser/public_info/
  176. ad-get: /2/ad/get/
  177. ad-create: /2/ad/create/
  178. ad-update: /2/ad/update/
  179. ad-update-status: /2/ad/update/status/
  180. ad-update-bid: /2/ad/update/bid/
  181. ad-update-budget: /2/ad/update/budget/
  182. ad-update-reject-reason: 2/ad/reject_reason/
  183. campaign-get: /2/campaign/get/
  184. campaign-create: /2/campaign/create/
  185. campaign-update-status: /2/campaign/update/status/
  186. campaign-update: /2/campaign/update/
  187. dmp-custom-audience-select: /2/dmp/custom_audience/select/
  188. file-video-ad: /2/file/video/ad/
  189. file-image-ad: /2/file/image/ad/
  190. creative-update-status: /2/creative/update/status/
  191. creative-material-get: /2/creative/material/read/
  192. creative-create-v2: /2/creative/create_v2/
  193. creative-get: /2/creative/get/
  194. creative-read: /2/creative/read_v2/
  195. creative-update: /2/creative/update_v2/
  196. creative-reject-reason: /2/creative/reject_reason/
  197. advertiser-report-get: /2/report/advertiser/get/
  198. campaign-report-get: /2/report/campaign/get/
  199. ad-report-get: /2/report/ad/get/
  200. ad-creative-get: /2/report/creative/get/
  201. advertiser-fund-daily-stat: /2/advertiser/fund/daily_stat/
  202. xxl:
  203. job:
  204. accessToken:
  205. executor:
  206. appname: module-job-bytedance
  207. port: 9998
  208. ip:
  209. logpath: /data/applogs/xxl-job/jobhandler
  210. logretentiondays: 30
  211. admin:
  212. addresses: http://127.0.0.1:8090/xxl-job-admin