application-dev.yml 9.3 KB

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