application-dev.yml 9.3 KB

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