update
This commit is contained in:
parent
5bf5459590
commit
321dfdcd39
|
@ -4,5 +4,5 @@ _ip=119.3.109.134
|
|||
cd ../
|
||||
mvn clean package
|
||||
scp target/build/*.jar root@${_ip}:${_pwd}
|
||||
scp target/build/lib/*.* root@${_ip}:${_pwd}/lib
|
||||
#scp target/build/lib/*.* root@${_ip}:${_pwd}/lib
|
||||
ssh root@${_ip} "cd ${_pwd}; sh ./start.sh"
|
|
@ -12,7 +12,7 @@ import java.util.regex.Pattern;
|
|||
public class PasswordUtil {
|
||||
|
||||
public static Boolean valid(String password) {
|
||||
String regexp = "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,24}$";
|
||||
String regexp = "^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{8,24}$";
|
||||
return Pattern.matches(regexp, password);
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ spring:
|
|||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
url: jdbc:mysql://127.0.0.1:3306/lc_oa?useSSL=false&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=UTF8&autoReconnect=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||
username: root
|
||||
password: root
|
||||
password: Wang09211108
|
||||
druid:
|
||||
# 下面为连接池的补充设置,应用到上面所有数据源中
|
||||
# 初始化大小,最小,最大
|
||||
|
|
Loading…
Reference in New Issue