Skip to content

Commit 3a9c539

Browse files
committed
多配置文件
1 parent 96a22b4 commit 3a9c539

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ target/
33
!.mvn/wrapper/maven-wrapper.jar
44
!**/src/main/**
55
!**/src/test/**
6+
src/main/resources/application-pro.yml
67

78
### STS ###
89
.apt_generated

src/main/java/com/lsk/sms/Beans.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class Beans {
1818
public Gson gson() { return new Gson(); }
1919
@Bean
2020
public JedisPool jedisPool() {
21-
return new JedisPool(new JedisPoolConfig(), "localhost", 6379, 5000, "redisadmin", 3);
21+
return new JedisPool(new JedisPoolConfig(), "localhost", 6379, 5000, "lsk123456", 3);
2222
}
2323

2424
}

0 commit comments

Comments
 (0)