application-test.yml 7.9 KB

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