application-test.yml 9.1 KB

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