application-prod.yml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  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/jeecg-boot?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: 172.30.0.17
  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: foobared
  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. #jeecg专用配置
  119. jeecg:
  120. elasticsearch:
  121. cluster-nodes:
  122. check-enabled: false
  123. uploadType:
  124. oss:
  125. endpoint:
  126. accessKey:
  127. secretKey:
  128. bucketName:
  129. staticDomain:
  130. sms:
  131. accessKeyId:
  132. accessKeySecret:
  133. minio:
  134. minio_url:
  135. minio_name:
  136. minio_pass:
  137. bucketName:
  138. ffmpeg:
  139. bin: ffmpeg
  140. path:
  141. #文件上传根目录 设置
  142. upload: /data/upload
  143. #webapp文件路径
  144. webapp: /data/webapp
  145. video-upload: /data/upload/video/
  146. image-upload: /data/upload/image/
  147. chrome-driver: /usr/bin/chromedriver
  148. csv-upload: /data/upload/csv/
  149. bak-database-file: /data/data/bak/
  150. report-history: /data/upload/report/history/
  151. report-daily: /data/upload/report/daily/
  152. kuaishou-agent-image: /data/upload/image/temp.png
  153. kuaishou-account-captcha-image: /data/upload/image/captcha.png
  154. kuaishou:
  155. api-url: https://ad.e.kuaishou.com
  156. auth-url: https://ad.e.kuaishou.com
  157. appid: 27
  158. third-appid: 328
  159. oauth-type: agent
  160. secret: QovprB1tNhXptgDc
  161. third-secret: 1iFTBiMdohkyEQQs
  162. callback-url: http://adsp.c-top.com.cn:8080/jeecg-boot/kuaishou
  163. third-callback-url: http://callback.shyouteng.com.cn/kuaishou
  164. apk-sava-path: /mnt/file/apk
  165. image-sava-path: /mnt/file/image
  166. video-sava-path: /mnt/file/video
  167. model-video-src-path: /mnt/data/src/
  168. model-video-fill-path: /mnt/data/fill/
  169. model-video-final-path: /mnt/data/final/
  170. group-control:
  171. path: http://39.106.184.70
  172. port: 4723
  173. logging:
  174. level:
  175. root: info
  176. config: classpath:logback-prod.xml
  177. chrome:
  178. script:
  179. clean: sh /data/webapp/cleanProcess.sh
  180. oss:
  181. replace:
  182. replace-value: oss-cn-beijing-internal
  183. replace-old-value: oss-cn-beijing
  184. download: /data/file/video/
  185. bytedance:
  186. appId: 1635316529903624
  187. secret: 0c51523e90d6166418fc8421a4896808e90e26f4
  188. url:
  189. auth-prefix: https://ad.oceanengine.com/openapi
  190. api-prefix: https://ad.oceanengine.com/open_api
  191. callback-url: http://adsp.c-top.com.cn:8080/jeecg-boot/bytedance
  192. refresh-token: /oauth2/refresh_token
  193. advertiser-info: /2/advertiser/public_info/
  194. ad-get: /2/ad/get/
  195. ad-create: /2/ad/create/
  196. ad-update: /2/ad/update/
  197. ad-update-status: /2/ad/update/status/
  198. ad-update-bid: /2/ad/update/bid/
  199. ad-update-budget: /2/ad/update/budget/
  200. ad-update-reject-reason: 2/ad/reject_reason/
  201. campaign-get: /2/campaign/get/
  202. campaign-create: /2/campaign/create/
  203. campaign-update-status: /2/campaign/update/status/
  204. campaign-update: /2/campaign/update/
  205. dmp-custom-audience-select: /2/dmp/custom_audience/select/
  206. file-video-ad: /2/file/video/ad/
  207. file-image-ad: /2/file/image/ad/
  208. creative-update-status: /2/creative/update/status/
  209. creative-material-get: /2/creative/material/read/
  210. creative-create-v2: /2/creative/create_v2/
  211. creative-get: /2/creative/get/
  212. creative-read: /2/creative/read_v2/
  213. creative-update: /2/creative/update_v2/
  214. creative-reject-reason: /2/creative/reject_reason/
  215. advertiser-report-get: /2/report/advertiser/get/
  216. campaign-report-get: /2/report/campaign/get/
  217. ad-report-get: /2/report/ad/get/
  218. ad-creative-get: /2/report/creative/get/
  219. advertiser-fund-daily-stat: /2/advertiser/fund/daily_stat/
  220. xxl:
  221. job:
  222. accessToken:
  223. executor:
  224. appname: module-job-kuaishou
  225. port: 9998
  226. ip:
  227. logpath: /data/applogs/xxl-job/jobhandler
  228. logretentiondays: 30
  229. admin:
  230. addresses: http://139.186.29.76:8090/xxl-job-admin
  231. ai:
  232. callback:
  233. callback-unit-url: http://192.168.1.193:31012/ai_callback_add_group
  234. callback-creative-url: http://192.168.1.193:31012/ai_callback_add_creative
  235. zip:
  236. local:
  237. download-path: /data/unzip/
  238. xxl-job:
  239. requestUrl: http://api.tjyourong.com.cn