zhitong.yu
7 天以前 7fc9c42987a13c1d8d2159591a5803e70518827f
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
server:
  port: 9002
spring:
  servlet:
    multipart:
      enabled: true
      max-file-size: 500MB
      max-request-size: 500MB
      file-size-threshold: 2MB
  main:
    allow-circular-references: true
  application:
    name: Gps_Admin
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://localhost:3306/hxzkuwb
    username: root
    password: hxzk20151102
  web:
    resources:
      resources:
        static-locations: classpath:/META-INF/resources/,classpath:/resources/
# mybatisPlus
mybatis-plus:
  global-config:
    db-config:
      id-type: auto
  configuration:
    map-underscore-to-camel-case: true
    logging:
      level:
        root: ERROR
        com.baomidou.mybatisplus: ERROR
 
pagehelper:
  helper-dialect: mysql
  reasonable: true
  support-methods-arguments: true
  params: count=countSql
 
 
sa-token:
  # token 名称(同时也是 cookie 名称)
  token-name: satoken
  # token 有效期(单位:秒) 默认30天,-1 代表永久有效
  timeout: 2592000
  # token 最低活跃频率(单位:秒),如果 token 超过此时间没有访问系统就会被冻结,默认-1 代表不限制,永不冻结
  active-timeout: -1
  # 是否允许同一账号多地同时登录 (为 true 时允许一起登录, 为 false 时新登录挤掉旧登录)
  is-concurrent: true
  # 在多人登录同一账号时,是否共用一个 token (为 true 时所有登录共用一个 token, 为 false 时每次登录新建一个 token)
  is-share: false
  # token 风格(默认可取值:uuid、simple-uuid、random-32、random-64、random-128、tik)
  token-style: simple-uuid
  # 是否输出操作日志
  is-log: true
 
 
upload:
#  上传文件的存放路径
  dir: D:Bs/uploads/
#  上传文件的IP地址
  dir-IP: http://103.155.76.198:9002/uploads/
#  用户头像存放路径
  dir-UserImg: D:Bs/uploads/User/
#  人员头像存放路径
  dir-Person: D:Bs/uploads/Person/
#  部门图标存放路径
  dir-DepartMent: D:Bs/uploads/DepartMent/
#  公司LOGO存放路径
  dir-CompanyLogo: D:Bs/uploads/CompanyLogo/
#  摄像头图标存放路径
  dir-Hksxt: D:Bs/uploads/Hksxt/
#  平面/瓦片地图存放路径
  dir-Map: D:Bs/uploads/Map/
  dir-Bin: D:Bs/uploads/bin
#  三维模型地图存放路径
  dir-Map-Three: D:Bs/uploads/Map/Three/
  dir-Map-ThreeJS: D:/Bs/uploads/Map/Three/