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/