Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ioc_sixiang_license
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zengtianlai3
ioc_sixiang_license
Commits
2a9017e3
Commit
2a9017e3
authored
Feb 02, 2023
by
AfirSraftGarrier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回退给亿迅
parent
99aa7bce
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
13 deletions
+9
-13
pom.xml
license/pom.xml
+1
-0
LibHelper.java
...rc/main/java/iot/sixiang/license/third_lib/LibHelper.java
+1
-2
ESAPI.properties
license/src/main/resources/ESAPI.properties
+2
-2
application-dev.yml
license/src/main/resources/application-dev.yml
+4
-8
application.yml
license/src/main/resources/application.yml
+1
-1
No files found.
license/pom.xml
View file @
2a9017e3
...
@@ -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>
...
...
license/src/main/java/iot/sixiang/license/third_lib/LibHelper.java
View file @
2a9017e3
...
@@ -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
();
}
}
...
...
license/src/main/resources/ESAPI.properties
View file @
2a9017e3
...
@@ -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)
...
...
license/src/main/resources/application-dev.yml
View file @
2a9017e3
...
@@ -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
...
@@ -16,8 +16,4 @@ knife4j:
...
@@ -16,8 +16,4 @@ knife4j:
enable
:
true
enable
:
true
other
:
other
:
sm4-key
:
sixiang890123456
sm4-key
:
sixiang890123456
\ No newline at end of file
jasypt
:
encryptor
:
password
:
acc
\ No newline at end of file
license/src/main/resources/application.yml
View file @
2a9017e3
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment