application-test.yml 7.9 KB

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