Commit 2a9017e3 authored by AfirSraftGarrier's avatar AfirSraftGarrier

回退给亿迅

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