1
zj
12 hours ago f658569891db433854221b80f0a9fa99608cff64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
server:
  port: 8111
spring:
  datasource:
    url: jdbc:mysql://localhost:3306/neza-jys-1?allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
    username: neza-jys-1
    password: BNeWKJ6nRLTiCpdW
    driver-class-name: com.mysql.jdbc.Driver
    type: com.zaxxer.hikari.HikariDataSource
    hikari:
      minimum-idle: 0
      maximum-pool-size: 20
      idle-timeout: 25000
      auto-commit: true
      connection-test-query: SELECT 1
  redis:
    redisson:
      config: classpath:redisson/redisson-dev.yml
      config-spider: classpath:redisson/redisson-spider.yml
    host: localhost
    port: 6379
    password: root
  freemarker:
    check-template-location: false
logging:
  config: classpath:logback/logback-prod.xml
 
jetcache:
  # 统计间隔,0表示不统计,开启后定期在控制台输出缓存信息
  statIntervalMinutes: 10
  # 是否把cacheName作为远程缓存key前缀
  areaInCacheName: true
  # @Cached和@CreateCache自动生成name的时候,为了不让name太长,hiddenPackages指定的包名前缀被截掉
  hiddenPackages: com.yami.trading
  # 本地缓存配置
  local:
    # default表示全部生效,也可以指定某个cacheName,可以配置更多的area(缓存分类,相当于命名空间)
    # 对应@Cached和@CreateCache的area属性。注意如果注解上没有指定area,默认值是"default"
    default:
      # 已支持可选:linkedhashmap、caffeine
      type: linkedhashmap
      # key转换器
      keyConvertor: fastjson
      # 以毫秒为单位,指定更新后多长时间就让缓存失效,当前只有本地缓存支持。0表示不使用这个功能
      expireAfterWriteInMillis: 100000
  # 远程缓存配置
  remote:
    default:
      # 缓存类型。tair、redis为当前支持的远程缓存
      type: redis
      # 其他可选:fastjson2 / jackson / fastjson
      keyConvertor: fastjson
      # jetcahe2.7的两级缓存支持更新以后失效其他JVM中的local cache
      broadcastChannel: jetcacheTrading
      # 采用Java序列化存储,其他可选:kryo/kryo5
      valueEncoder: java
      valueDecoder: java
      poolConfig:
        minIdle: 5
        maxIdle: 20
        maxTotal: 50
      host: ${spring.redis.host}
      port: ${spring.redis.port}
#      password: ${spring.redis.password}
      database: 1
 
db:
  ip: localhost
  port: 3306
  database.name: root
  username: root
  password: dfgFGHR45623$&
  backup.path: /backup
 
http.server.host: http://localhost:8080/images/
admin_rest_url: https://enjdhdg.site/api
images.dir: /mydata/img/
admin_url: https://localhost:8080/admin
web_url: http://localhost:8080/wap/
images_http: http://154.23.189.28:39001/
email:
  host: smtp.gmail.com
  username: test
  password: test
  from: smtp.gmail.com
 
exchange:
  rate: https://openexchangerates.org/api/latest.json?app_id=1de9ea307c074f2198d1052117464aba
 
#config:
#  timezone:
#    # 配置当前盘口存储数据使用的时区
#    record: GMT-5
#    # 配置当前盘口展示数据使用的时区
#    show: GMT-5
 
sign:
  encryption-key: d78585e683ed11eaa13f0242ac110003
  version-number: