application-test.yml 8.0 KB

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