update 登录验证标识配置项needPassword
This commit is contained in:
@@ -41,7 +41,7 @@ public class StaticConfig {
|
||||
|
||||
public static Boolean needPassword;
|
||||
|
||||
@Value("${jero.needPassword:true}")
|
||||
@Value("${needPassword:true}")
|
||||
public void setNeedPassword(Boolean needPassword) {
|
||||
StaticConfig.needPassword = needPassword;
|
||||
}
|
||||
|
||||
@@ -263,7 +263,7 @@ jero:
|
||||
# origin地址
|
||||
originIp: http://localhost:3000,http://localhost:3001,http://localhost:8080,http://localhost:8081,127.0.0.1:3000,127.0.0.1:3001,127.0.0.1:8080,10.0.1.70:3000,10.0.1.81:3000,10.0.1.81:8080,192.168.1.7:8080,192.168.1.7:3000,192.168.1.7:3001,121.36.69.172:4780
|
||||
|
||||
needPassword: false
|
||||
|
||||
#cas单点登录
|
||||
cas:
|
||||
prefixUrl: http://cas.example.org:8443/cas
|
||||
@@ -345,4 +345,6 @@ tax_rate: 0.06
|
||||
# 快递100相关配置
|
||||
kuaidi:
|
||||
key: glrUQsMV4692
|
||||
customer: 580BE140491CA19C3FED37DB5845413E
|
||||
customer: 580BE140491CA19C3FED37DB5845413E
|
||||
|
||||
needPassword: false
|
||||
Reference in New Issue
Block a user