application-dev.yml 8.7 KB

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