application-prod.yml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. server:
  2. port: 8805
  3. ip: 39.97.120.42
  4. servlet:
  5. context-path: /jeecg-boot
  6. compression:
  7. enabled: true
  8. mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
  9. management:
  10. endpoints:
  11. web:
  12. exposure:
  13. include: metrics,httptrace
  14. spring:
  15. servlet:
  16. multipart:
  17. max-file-size: -1
  18. max-request-size: -1
  19. mail:
  20. host: smtp.exmail.qq.com
  21. username: notice@c-top.com.cn
  22. password: Hcst@2019
  23. properties:
  24. mail:
  25. smtp:
  26. ssl.enable: enable
  27. auth: true
  28. starttls:
  29. enable: true
  30. required: true
  31. ## quartz定时任务,采用数据库方式
  32. #quartz:
  33. #job-store-type: jdbc
  34. #json 时间戳统一转换
  35. jackson:
  36. date-format: yyyy-MM-dd HH:mm:ss
  37. time-zone: GMT+8
  38. jpa:
  39. open-in-view: false
  40. activiti:
  41. check-process-definitions: false
  42. #启用作业执行器
  43. async-executor-activate: false
  44. #启用异步执行器
  45. job-executor-activate: false
  46. aop:
  47. proxy-target-class: true
  48. #配置freemarker
  49. freemarker:
  50. # 设置模板后缀名
  51. suffix: .ftl
  52. # 设置文档类型
  53. content-type: text/html
  54. # 设置页面编码格式
  55. charset: UTF-8
  56. # 设置页面缓存
  57. cache: false
  58. prefer-file-system-access: false
  59. # 设置ftl文件路径
  60. template-loader-path:
  61. - classpath:/templates
  62. # 设置静态文件路径,js,css等
  63. mvc:
  64. static-path-pattern: /**
  65. resource:
  66. static-locations: classpath:/static/,classpath:/public/
  67. autoconfigure:
  68. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  69. datasource:
  70. url: jdbc:mysql://172.30.0.4:4000/jiaoyang?characterEncoding=UTF-8&useUnicode=true&allowMultiQueries=true&useSSL=false
  71. username: hcst
  72. password: hcst@2020
  73. driver-class-name: com.mysql.jdbc.Driver
  74. druid:
  75. stat-view-servlet:
  76. loginUsername: admin
  77. loginPassword: hcst2016
  78. enabled: true
  79. web-stat-filter:
  80. enabled: true
  81. # remove-abandoned: false
  82. dynamic:
  83. druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)
  84. # 连接池的配置信息
  85. # 初始化大小,最小,最大
  86. connection-init-sql: set names utf8mb4
  87. initial-size: 5
  88. min-idle: 5
  89. maxActive: 20
  90. # 配置获取连接等待超时的时间
  91. maxWait: 60000
  92. # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  93. timeBetweenEvictionRunsMillis: 60000
  94. # 配置一个连接在池中最小生存的时间,单位是毫秒
  95. minEvictableIdleTimeMillis: 300000
  96. validationQuery: SELECT 1 FROM DUAL
  97. testWhileIdle: true
  98. testOnBorrow: false
  99. testOnReturn: false
  100. # 打开PSCache,并且指定每个连接上PSCache的大小
  101. poolPreparedStatements: true
  102. maxPoolPreparedStatementPerConnectionSize: 20
  103. # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
  104. filters: stat,wall,slf4j
  105. # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
  106. connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
  107. datasource:
  108. master:
  109. url: jdbc:mysql://172.30.0.4:4000/jiaoyang?characterEncoding=UTF-8&useUnicode=true&allowMultiQueries=true&useSSL=false
  110. username: hcst
  111. password: hcst@2020
  112. driver-class-name: com.mysql.jdbc.Driver
  113. # 多数据源配置
  114. #multi-datasource1:
  115. #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  116. #username: root
  117. #password: root
  118. #driver-class-name: com.mysql.jdbc.Driver
  119. #redis 配置
  120. redis:
  121. database: 0
  122. host: 172.30.0.17
  123. lettuce:
  124. pool:
  125. max-active: 8 #最大连接数据库连接数,设 0 为没有限制
  126. max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
  127. max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
  128. min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
  129. shutdown-timeout: 100ms
  130. password: foobared
  131. port: 6379
  132. #mybatis plus 设置
  133. mybatis-plus:
  134. mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml,classpath*:cn/com/ctop/**/xml/*Mapper.xml
  135. global-config:
  136. # 关闭MP3.0自带的banner
  137. banner: false
  138. db-config:
  139. #主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)";
  140. id-type: 4
  141. # 默认数据库表下划线命名
  142. table-underline: true
  143. # configuration:
  144. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  145. #jeecg专用配置
  146. jeecg:
  147. #积木报表设置
  148. jmreport:
  149. mode: dev
  150. #是否需要校验token
  151. is_verify_token: false
  152. #必须校验方法
  153. verify_methods: remove,delete,save,add,update
  154. elasticsearch:
  155. cluster-nodes:
  156. check-enabled: false
  157. uploadType:
  158. oss:
  159. endpoint:
  160. accessKey:
  161. secretKey:
  162. bucketName:
  163. staticDomain:
  164. sms:
  165. accessKeyId:
  166. accessKeySecret:
  167. minio:
  168. minio_url:
  169. minio_name:
  170. minio_pass:
  171. bucketName:
  172. ffmpeg:
  173. bin: ffmpeg
  174. path:
  175. #文件上传根目录 设置
  176. upload: /data/upload
  177. #webapp文件路径
  178. webapp: /data/webapp
  179. video-upload: /data/upload/video/
  180. image-upload: /data/upload/image/
  181. kuaishou-agent-image: /data/upload/image/temp.png
  182. kuaishou-account-captcha-image: /data/upload/image/captcha.png
  183. chrome-driver: /usr/bin/chromedriver
  184. csv-upload: /data/upload/csv/
  185. bak-database-file: /data/data/bak/
  186. report-history: /data/upload/report/history/
  187. report-daily: /data/upload/report/daily/
  188. kuaishou:
  189. api-url: https://ad.e.kuaishou.com
  190. auth-url: https://ad.e.kuaishou.com
  191. appid: 27
  192. third-appid: 328
  193. oauth-type: agent
  194. secret: QovprB1tNhXptgDc
  195. third-secret: 1iFTBiMdohkyEQQs
  196. callback-url: http://adsp.c-top.com.cn:8080/jeecg-boot/kuaishou
  197. third-callback-url: http://callback.shyouteng.com.cn/kuaishou
  198. apk-sava-path: /mnt/file/apk
  199. image-sava-path: /mnt/file/image
  200. video-sava-path: /mnt/file/video
  201. model-video-src-path: /mnt/data/src/
  202. model-video-fill-path: /mnt/data/fill/
  203. model-video-final-path: /mnt/data/final/
  204. group-control:
  205. path: http://39.106.184.70
  206. port: 4723
  207. logging:
  208. level:
  209. root: info
  210. config: classpath:logback-prod.xml
  211. chrome:
  212. script:
  213. clean: sh /data/webapp/cleanProcess.sh
  214. cas:
  215. prefixUrl:
  216. oss:
  217. replace:
  218. replace-value: oss-cn-beijing
  219. replace-old-value: oss-cn-beijing
  220. download: /data/file/video/
  221. zip:
  222. local:
  223. download-path: /data/unzip/
  224. bytedance:
  225. appId: 1635316529903624
  226. secret: 0c51523e90d6166418fc8421a4896808e90e26f4
  227. url:
  228. auth-prefix: https://ad.oceanengine.com/openapi
  229. api-prefix: https://ad.oceanengine.com/open_api
  230. callback-url: http://adsp.c-top.com.cn:8080/jeecg-boot/bytedance
  231. refresh-token: /oauth2/refresh_token
  232. advertiser-info: /2/advertiser/public_info/
  233. ad-get: /2/ad/get/
  234. ad-create: /2/ad/create/
  235. ad-update: /2/ad/update/
  236. ad-update-status: /2/ad/update/status/
  237. ad-update-bid: /2/ad/update/bid/
  238. ad-update-budget: /2/ad/update/budget/
  239. ad-update-reject-reason: 2/ad/reject_reason/
  240. campaign-get: /2/campaign/get/
  241. campaign-create: /2/campaign/create/
  242. campaign-update-status: /2/campaign/update/status/
  243. campaign-update: /2/campaign/update/
  244. dmp-custom-audience-select: /2/dmp/custom_audience/select/
  245. file-video-ad: /2/file/video/ad/
  246. file-image-ad: /2/file/image/ad/
  247. creative-update-status: /2/creative/update/status/
  248. creative-material-get: /2/creative/material/read/
  249. creative-create-v2: /2/creative/create_v2/
  250. creative-get: /2/creative/get/
  251. creative-read: /2/creative/read_v2/
  252. creative-update: /2/creative/update_v2/
  253. creative-reject-reason: /2/creative/reject_reason/
  254. advertiser-report-get: /2/report/advertiser/get/
  255. campaign-report-get: /2/report/campaign/get/
  256. ad-report-get: /2/report/ad/get/
  257. ad-creative-get: /2/report/creative/get/
  258. advertiser-fund-daily-stat: /2/advertiser/fund/daily_stat/
  259. ai:
  260. callback:
  261. callback-unit-url: http://192.168.1.193:31012/ai_callback_add_group
  262. callback-creative-url: http://192.168.1.193:31012/ai_callback_add_creative