application-dev.yml 9.2 KB

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