配置说明
# 一、Maven插件配置
# 文件位于 wumei-smart\springboot\pom.xml
# 配置bootclasspath项,windows使用`;` ,linux使用 `:`
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<compilerArguments>
<!-- rt.jar和jce.jar中间的分隔符,windows为“;”,linux为“:” -->
<bootclasspath>${java.home}/lib/rt.jar;${java.home}/lib/jce.jar</bootclasspath>
</compilerArguments>
</configuration>
</plugin>
</plugins>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 二、日志文件配置
# 文件位于 wumei-smart\springboot\wumei-admin\src\main\resources\lockback.xml
<!-- 日志存放路径 -->
<property name="log.path" value="/logs" />
<!-- 日志输出格式 -->
<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" />
1
2
3
4
5
6
2
3
4
5
6
# 三、文件上传路径配置
# 文件位于 wumei-smart\springboot\wumei-admin\src\main\resources\application.yml
# 文件路径,以uploadPath结尾 示例( Windows配置D:/uploadPath,Linux配置 /var/data/javva/uploadPath)
profile: /uploadPath
1
2
3
4
2
3
4
# 四、数据监控账号
# 文件位于 wumei-smart\springboot\wumei-admin\src\main\resources\application-druid.yml
# 数据监控的账号密码配置,默认wumei-smart
statViewServlet:
enabled: true
# 设置白名单,不填则允许所有访问
allow:
url-pattern: /druid/*
# 控制台管理用户名和密码
login-username: wumei-smart
login-password: wumei-smart
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
# 五、系统账号
# 后台添加用户:默认密码为123456
管理员 admin admin123
游客账号 wumei 123456
租户T1 wumei-t1 123456
用户U1 wumei-u1 123456
1
2
3
4
5
6
2
3
4
5
6
上次更新: 2022/08/19, 01:10:19