Commit 2a9017e3 authored by AfirSraftGarrier's avatar AfirSraftGarrier

回退给亿迅

parent 99aa7bce
...@@ -157,6 +157,7 @@ ...@@ -157,6 +157,7 @@
</dependencies> </dependencies>
<build> <build>
<finalName>license</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
......
...@@ -6,7 +6,6 @@ import iot.sixiang.license.util.CommonUtil; ...@@ -6,7 +6,6 @@ import iot.sixiang.license.util.CommonUtil;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct; import javax.annotation.PostConstruct;
import java.io.File;
/** /**
* Title: LibHelper * Title: LibHelper
...@@ -22,7 +21,7 @@ public class LibHelper { ...@@ -22,7 +21,7 @@ public class LibHelper {
@PostConstruct @PostConstruct
public void init() { public void init() {
LibPathUtil.libDir = CommonUtil.getServerParentDirectory() + File.separator + "/libs"; LibPathUtil.libDir = CommonUtil.getServerParentDirectory();
safety = new Safety(); safety = new Safety();
} }
......
...@@ -77,9 +77,9 @@ ESAPI.Validator=org.owasp.esapi.reference.DefaultValidator ...@@ -77,9 +77,9 @@ ESAPI.Validator=org.owasp.esapi.reference.DefaultValidator
# ESAPI Authenticator # ESAPI Authenticator
# #
Authenticator.AllowedLoginAttempts=3 Authenticator.AllowedLoginAttempts=3
Authenticator.MaxOldPasswordHashes=13 Authenticator.MaxOldPasswordHashes=ENC(F0TJ9iT6D4VW8xVjZf9Nqw==)
Authenticator.UsernameParameterName=username Authenticator.UsernameParameterName=username
Authenticator.PasswordParameterName=password Authenticator.PasswordParameterName=ENC(F0TJ9iT6D4VW8xVjZf9Nqw==)
# RememberTokenDuration (in days) # RememberTokenDuration (in days)
Authenticator.RememberTokenDuration=14 Authenticator.RememberTokenDuration=14
# Session Timeouts (in minutes) # Session Timeouts (in minutes)
......
...@@ -6,9 +6,9 @@ logging: ...@@ -6,9 +6,9 @@ logging:
spring: spring:
datasource: datasource:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://rm-wz9w0x7a26q11av687o.mysql.rds.aliyuncs.com:3306/iot_license?serverTimezone=GMT%2B8 url: jdbc:mysql://localhost:3306/iot_license?serverTimezone=GMT%2B8
username: dada username: root
password: Acc2019123 password: ENC(F0TJ9iT6D4VW8xVjZif9Nqw==)
mybatis-plus: mybatis-plus:
mapper-locations: classpath:/mapper/**.xml mapper-locations: classpath:/mapper/**.xml
type-aliases-package: iot.sixiang.license.entity type-aliases-package: iot.sixiang.license.entity
...@@ -17,7 +17,3 @@ knife4j: ...@@ -17,7 +17,3 @@ knife4j:
other: other:
sm4-key: sixiang890123456 sm4-key: sixiang890123456
\ No newline at end of file
jasypt:
encryptor:
password: acc
\ No newline at end of file
...@@ -10,7 +10,7 @@ spring: ...@@ -10,7 +10,7 @@ spring:
host: smtp.mxhichina.com host: smtp.mxhichina.com
port: 465 port: 465
username: dev_team@huahuico.com username: dev_team@huahuico.com
password: Jas@7777777 password: ENC(eUd8aq15PjmiIF1GBeRwkJJvGZKaAYKu)
# 需要配置成管理员邮箱 # 需要配置成管理员邮箱
to: MAllk33@163.com to: MAllk33@163.com
default-encoding: UTF-8 default-encoding: UTF-8
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment