application-dev.yml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. server:
  2. tomcat:
  3. max-swallow-size: -1
  4. error:
  5. include-exception: true
  6. include-stacktrace: ALWAYS
  7. include-message: ALWAYS
  8. compression:
  9. enabled: true
  10. min-response-size: 1024
  11. mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
  12. management:
  13. endpoints:
  14. web:
  15. exposure:
  16. include: metrics,httptrace
  17. spring:
  18. servlet:
  19. multipart:
  20. max-file-size: 10MB
  21. max-request-size: 10MB
  22. mail:
  23. host: smtp.163.com
  24. username: jeecgos@163.com
  25. password: ??
  26. properties:
  27. mail:
  28. smtp:
  29. auth: true
  30. starttls:
  31. enable: true
  32. required: true
  33. #json 时间戳统一转换
  34. jackson:
  35. date-format: yyyy-MM-dd HH:mm:ss
  36. time-zone: GMT+8
  37. jpa:
  38. open-in-view: false
  39. activiti:
  40. check-process-definitions: false
  41. #启用作业执行器
  42. async-executor-activate: false
  43. #启用异步执行器
  44. job-executor-activate: false
  45. aop:
  46. proxy-target-class: true
  47. #配置freemarker
  48. freemarker:
  49. # 设置模板后缀名
  50. suffix: .ftl
  51. # 设置文档类型
  52. content-type: text/html
  53. # 设置页面编码格式
  54. charset: UTF-8
  55. # 设置页面缓存
  56. cache: false
  57. prefer-file-system-access: false
  58. # 设置ftl文件路径
  59. template-loader-path:
  60. - classpath:/templates
  61. # 设置静态文件路径,js,css等
  62. mvc:
  63. static-path-pattern: /**
  64. resource:
  65. static-locations: classpath:/static/,classpath:/public/
  66. autoconfigure:
  67. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  68. datasource:
  69. druid:
  70. stat-view-servlet:
  71. enabled: true
  72. loginUsername: admin
  73. loginPassword: 123456
  74. allow:
  75. web-stat-filter:
  76. enabled: true
  77. dynamic:
  78. druid: # 全局druid参数,绝大部分值和默认保持一致。(现已支持的参数如下,不清楚含义不要乱设置)
  79. # 连接池的配置信息
  80. # 初始化大小,最小,最大
  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,wall,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&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
  104. username: hcst
  105. password: hcst@2020
  106. driver-class-name: com.mysql.jdbc.Driver
  107. # 多数据源配置
  108. #multi-datasource1:
  109. #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
  110. #username: root
  111. #password: root
  112. #driver-class-name: com.mysql.cj.jdbc.Driver
  113. #redis 配置
  114. redis:
  115. database: 0
  116. host: 127.0.0.1
  117. lettuce:
  118. pool:
  119. max-active: 8 #最大连接数据库连接数,设 0 为没有限制
  120. max-idle: 8 #最大等待连接中的数量,设 0 为没有限制
  121. max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
  122. min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
  123. shutdown-timeout: 100ms
  124. password: ''
  125. port: 6379
  126. #mybatis plus 设置
  127. mybatis-plus:
  128. mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml,classpath*:org/jeecg/**/xml/*Mapper.xml,classpath*:cn/com/ctop/**/xml/*Mapper.xml
  129. global-config:
  130. # 关闭MP3.0自带的banner
  131. banner: false
  132. db-config:
  133. #主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)";
  134. id-type: ASSIGN_ID
  135. # 默认数据库表下划线命名
  136. table-underline: true
  137. configuration:
  138. # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
  139. #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  140. # 返回类型为Map,显示null对应的字段
  141. call-setters-on-nulls: true
  142. #minidao 设置
  143. minidao :
  144. base-package: org.jeecg.modules.jmreport.*
  145. db-type: mysql
  146. #jeecg专用配置
  147. jeecg :
  148. # 本地:local\Minio:minio\阿里云:alioss
  149. uploadType: local
  150. path :
  151. #文件上传根目录 设置
  152. upload: D://opt//upFiles
  153. #webapp文件路径
  154. webapp: D://opt//webapp
  155. shiro:
  156. excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**
  157. #阿里云oss存储配置
  158. oss:
  159. endpoint: oss-cn-beijing.aliyuncs.com
  160. accessKey: ??
  161. secretKey: ??
  162. bucketName: jeecgos
  163. staticDomain: ??
  164. # ElasticSearch 6设置
  165. elasticsearch:
  166. cluster-name: jeecg-ES
  167. cluster-nodes: 127.0.0.1:9200
  168. check-enabled: false
  169. # 表单设计器配置
  170. desform:
  171. # 主题颜色(仅支持 16进制颜色代码)
  172. theme-color: "#1890ff"
  173. # 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)
  174. upload-type: system
  175. # 在线预览文件服务器地址配置
  176. file-view-domain: 127.0.0.1:8012
  177. # minio文件上传
  178. minio:
  179. minio_url: http://minio.jeecg.com
  180. minio_name: ??
  181. minio_pass: ??
  182. bucketName: otatest
  183. #大屏报表参数设置
  184. jmreport:
  185. mode: dev
  186. #数据字典是否进行saas数据隔离,自己看自己的字典
  187. saas: false
  188. #是否需要校验token
  189. is_verify_token: false
  190. #必须校验方法
  191. verify_methods: remove,delete,save,add,update
  192. #Wps在线文档
  193. wps:
  194. domain: https://wwo.wps.cn/office/
  195. appid: ??
  196. appsecret: ??
  197. #xxl-job配置
  198. xxljob:
  199. enabled: false
  200. adminAddresses: http://127.0.0.1:9080/xxl-job-admin
  201. appname: ${spring.application.name}
  202. accessToken: ''
  203. address: 127.0.0.1:30007
  204. ip: 127.0.0.1
  205. port: 30007
  206. logPath: logs/jeecg/job/jobhandler/
  207. logRetentionDays: 30
  208. #自定义路由配置 yml nacos database
  209. route:
  210. config:
  211. data-id: jeecg-gateway-router
  212. group: DEFAULT_GROUP
  213. data-type: yml
  214. #分布式锁配置
  215. redisson:
  216. address: 127.0.0.1:6379
  217. password:
  218. type: STANDALONE
  219. enabled: true
  220. #cas单点登录
  221. cas:
  222. prefixUrl: http://cas.example.org:8443/cas
  223. #Mybatis输出sql日志
  224. logging:
  225. level:
  226. org.jeecg.modules.system.mapper : info
  227. #swagger
  228. knife4j:
  229. production: false
  230. basic:
  231. enable: false
  232. username: jeecg
  233. password: jeecg1314
  234. #第三方登录
  235. justauth:
  236. enabled: true
  237. type:
  238. GITHUB:
  239. client-id: ??
  240. client-secret: ??
  241. redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/github/callback
  242. WECHAT_ENTERPRISE:
  243. client-id: ??
  244. client-secret: ??
  245. redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/wechat_enterprise/callback
  246. agent-id: 1000002
  247. DINGTALK:
  248. client-id: ??
  249. client-secret: ??
  250. redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/dingtalk/callback
  251. WECHAT_OPEN:
  252. client-id: ??
  253. client-secret: ??
  254. redirect-uri: http://sso.test.com:8080/jeecg-boot/sys/thirdLogin/wechat_open/callback
  255. cache:
  256. type: default
  257. prefix: 'demo::'
  258. timeout: 1h
  259. bytedance:
  260. appId: 1635316529903624
  261. secret: 0c51523e90d6166418fc8421a4896808e90e26f4
  262. url:
  263. auth-prefix: https://ad.oceanengine.com/openapi
  264. api-prefix: https://ad.oceanengine.com/open_api
  265. callback-url: http://adsp.c-top.com.cn:8080/jeecg-boot/bytedance
  266. refresh-token: /oauth2/refresh_token
  267. advertiser-info: /2/advertiser/public_info/
  268. ad-get: /2/ad/get/
  269. ad-create: /2/ad/create/
  270. ad-update: /2/ad/update/
  271. ad-update-status: /2/ad/update/status/
  272. ad-update-bid: /2/ad/update/bid/
  273. ad-update-budget: /2/ad/update/budget/
  274. ad-update-reject-reason: 2/ad/reject_reason/
  275. campaign-get: /2/campaign/get/
  276. campaign-create: /2/campaign/create/
  277. campaign-update-status: /2/campaign/update/status/
  278. campaign-update: /2/campaign/update/
  279. dmp-custom-audience-select: /2/dmp/custom_audience/select/
  280. file-video-ad: /2/file/video/ad/
  281. file-image-ad: /2/file/image/ad/
  282. creative-update-status: /2/creative/update/status/
  283. creative-material-get: /2/creative/material/read/
  284. creative-create-v2: /2/creative/create_v2/
  285. creative-get: /2/creative/get/
  286. creative-read: /2/creative/read_v2/
  287. creative-update: /2/creative/update_v2/
  288. creative-reject-reason: /2/creative/reject_reason/
  289. advertiser-report-get: /2/report/advertiser/get/
  290. campaign-report-get: /2/report/campaign/get/
  291. ad-report-get: /2/report/ad/get/
  292. ad-creative-get: /2/report/creative/get/
  293. advertiser-fund-daily-stat: /2/advertiser/fund/daily_stat/