application-jiaoyang.yml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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. #配置freemarker
  29. freemarker:
  30. # 设置模板后缀名
  31. suffix: .ftl
  32. # 设置文档类型
  33. content-type: text/html
  34. # 设置页面编码格式
  35. charset: UTF-8
  36. # 设置页面缓存
  37. cache: false
  38. prefer-file-system-access: false
  39. # 设置ftl文件路径
  40. template-loader-path:
  41. - classpath:/templates
  42. # 设置静态文件路径,js,css等
  43. mvc:
  44. static-path-pattern: /**
  45. resource:
  46. static-locations: classpath:/static/,classpath:/public/
  47. autoconfigure:
  48. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  49. datasource:
  50. url: jdbc:mysql://172.30.0.4:4000/jiaoyang?characterEncoding=UTF-8&useUnicode=true&useSSL=false
  51. username: hcst
  52. password: hcst@2020
  53. driver-class-name: com.mysql.jdbc.Driver
  54. druid:
  55. stat-view-servlet:
  56. loginUsername: admin
  57. loginPassword: hcst2016
  58. enabled: true
  59. web-stat-filter:
  60. enabled: true
  61. # remove-abandoned: false
  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://172.30.0.4:4000/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
  90. username: hcst
  91. password: hcst@2020
  92. driver-class-name: com.mysql.jdbc.Driver
  93. #redis 配置
  94. redis:
  95. database: 0
  96. host: 127.0.0.1
  97. lettuce:
  98. pool:
  99. max-active: 8 #最大连接数据库连接数,设 0 为没有限制
  100. max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
  101. max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
  102. min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
  103. shutdown-timeout: 100ms
  104. password: ''
  105. port: 6379
  106. #mybatis plus 设置
  107. mybatis-plus:
  108. mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml,classpath*:cn/com/ctop/**/xml/*Mapper.xml
  109. global-config:
  110. # 关闭MP3.0自带的banner
  111. banner: false
  112. db-config:
  113. #主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)";
  114. id-type: 4
  115. # 默认数据库表下划线命名
  116. table-underline: true
  117. #jeecg专用配置
  118. jeecg:
  119. elasticsearch:
  120. cluster-nodes:
  121. check-enabled: false
  122. uploadType:
  123. oss:
  124. endpoint:
  125. accessKey:
  126. secretKey:
  127. bucketName:
  128. staticDomain:
  129. sms:
  130. accessKeyId:
  131. accessKeySecret:
  132. minio:
  133. minio_url:
  134. minio_name:
  135. minio_pass:
  136. bucketName:
  137. ffmpeg:
  138. bin: ffmpeg
  139. path:
  140. #文件上传根目录 设置
  141. upload: /data/upload
  142. #webapp文件路径
  143. webapp: /data/webapp
  144. video-upload: /data/upload/video/
  145. image-upload: /data/upload/image/
  146. chrome-driver: /usr/bin/chromedriver
  147. csv-upload: /data/upload/csv/
  148. bak-database-file: /data/data/bak/
  149. report-history: /data/upload/report/history/
  150. report-daily: /data/upload/report/daily/
  151. kuaishou-agent-image: /data/upload/image/temp.png
  152. kuaishou-account-captcha-image: /data/upload/image/captcha.png
  153. kuaishou:
  154. api-url: https://ad.e.kuaishou.com
  155. auth-url: https://ad.e.kuaishou.com
  156. appid: 27
  157. third-appid: 328
  158. oauth-type: agent
  159. secret: QovprB1tNhXptgDc
  160. third-secret: 1iFTBiMdohkyEQQs
  161. callback-url: http://adsp.c-top.com.cn:8080/jeecg-boot/kuaishou
  162. third-callback-url: http://callback.shyouteng.com.cn/kuaishou
  163. apk-sava-path: /mnt/file/apk
  164. image-sava-path: /mnt/file/image
  165. video-sava-path: /mnt/file/video
  166. model-video-src-path: /mnt/data/src/
  167. model-video-fill-path: /mnt/data/fill/
  168. model-video-final-path: /mnt/data/final/
  169. group-control:
  170. path: http://39.106.184.70
  171. port: 4723
  172. logging:
  173. level:
  174. root: info
  175. config: classpath:logback-prod.xml
  176. chrome:
  177. script:
  178. clean: sh /data/webapp/cleanProcess.sh
  179. oss:
  180. replace:
  181. replace-value: oss-cn-beijing-internal
  182. replace-old-value: oss-cn-beijing
  183. download: /data/file/video/
  184. bytedance:
  185. appId: 1635316529903624
  186. secret: 0c51523e90d6166418fc8421a4896808e90e26f4
  187. url:
  188. auth-prefix: https://ad.oceanengine.com/openapi
  189. api-prefix: https://ad.oceanengine.com/open_api
  190. callback-url: http://adsp.c-top.com.cn:8080/jeecg-boot/bytedance
  191. refresh-token: /oauth2/refresh_token
  192. advertiser-info: /2/advertiser/public_info/
  193. ad-get: /2/ad/get/
  194. ad-create: /2/ad/create/
  195. ad-update: /2/ad/update/
  196. ad-update-status: /2/ad/update/status/
  197. ad-update-bid: /2/ad/update/bid/
  198. ad-update-budget: /2/ad/update/budget/
  199. ad-update-reject-reason: 2/ad/reject_reason/
  200. campaign-get: /2/campaign/get/
  201. campaign-create: /2/campaign/create/
  202. campaign-update-status: /2/campaign/update/status/
  203. campaign-update: /2/campaign/update/
  204. dmp-custom-audience-select: /2/dmp/custom_audience/select/
  205. file-video-ad: /2/file/video/ad/
  206. file-image-ad: /2/file/image/ad/
  207. creative-update-status: /2/creative/update/status/
  208. creative-material-get: /2/creative/material/read/
  209. creative-create-v2: /2/creative/create_v2/
  210. creative-get: /2/creative/get/
  211. creative-read: /2/creative/read_v2/
  212. creative-update: /2/creative/update_v2/
  213. creative-reject-reason: /2/creative/reject_reason/
  214. advertiser-report-get: /2/report/advertiser/get/
  215. campaign-report-get: /2/report/campaign/get/
  216. ad-report-get: /2/report/ad/get/
  217. ad-creative-get: /2/report/creative/get/
  218. advertiser-fund-daily-stat: /2/advertiser/fund/daily_stat/
  219. xxl:
  220. job:
  221. accessToken:
  222. executor:
  223. appname: module-job-bytedance
  224. port: 9998
  225. ip:
  226. logpath: /data/applogs/xxl-job/jobhandler
  227. logretentiondays: 30
  228. admin:
  229. addresses: http://129.28.150.229:8090/xxl-job-admin
  230. zip:
  231. local:
  232. download-path: /data/unzip/