派生自 pfms_20210718_old

RenJie_AliYun
2021-07-18 fa1afb844904d05d425fbb29fbdf087b76e8745a
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
# profileActive
spring:
  profiles:
    active: prod
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
    serialization:
      write-dates-as-timestamps: false
  #资源路径
  resources:
    static-locations: classpath:/static/
  #thymelea模板配置
  thymeleaf:
    prefix: classpath:/static/
    suffix: .html
    mode: HTML5
    encoding: UTF-8
    content-type: text/html
    cache: false
    enabled: true
 
  #文件上传限制
  servlet:
    multipart:
      enabled: true #是否启用http上传处理
      max-request-size: 500MB #最大请求文件的大小
      max-file-size: 500MB #设置单个文件最大长度
 
## 要管理的文件路径
fs:
  dir: D:/root/public/fileManager/
  uuidName: false
  useSm: true
  useNginx: false
  nginxUrl: http://localhost:80/
 
# session超时时间
server:
  session:
    timeout: 30
  servlet:
    context-path: /pfms # context-path
  tomcat:
    uri-encodeing: utf-8 # tomcat uri-encoding
 
# 日志的配置文件,默认是logback-spring.xml,如果使用别名则需要配置loggin.config
logging:
  config: classpath:logback-spring.xml
 
## admin管理员账号
admin:
  uname: admin #用户名
  pwd: 111111  #密码
  
## 访问路径
domain: http://localhost:${server.port}/pfms