Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
df5ca878
Commit
df5ca878
authored
Jul 09, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加门户license验证
parent
e5cddfb2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
portal-manager/src/main/java/com/mortals/xhx/common/utils/CipherUtil.java
...rc/main/java/com/mortals/xhx/common/utils/CipherUtil.java
+1
-1
portal-manager/src/main/resources/bootstrap.yml
portal-manager/src/main/resources/bootstrap.yml
+1
-1
No files found.
portal-manager/src/main/java/com/mortals/xhx/common/utils/CipherUtil.java
View file @
df5ca878
...
@@ -65,7 +65,7 @@ public class CipherUtil {
...
@@ -65,7 +65,7 @@ public class CipherUtil {
public
static
String
getMacAndIpInfo
()
{
public
static
String
getMacAndIpInfo
()
{
StringBuilder
sb
=
new
StringBuilder
();
StringBuilder
sb
=
new
StringBuilder
();
try
{
try
{
String
macAddress
=
NetUtil
.
get
MacAddress
(
InetAddress
.
getLocalHost
()
);
String
macAddress
=
NetUtil
.
get
LocalMacAddress
(
);
InetAddress
localHost
=
InetAddress
.
getLocalHost
();
InetAddress
localHost
=
InetAddress
.
getLocalHost
();
sb
.
append
(
"mac="
).
append
(
macAddress
).
append
(
"&ip="
).
append
(
localHost
.
getHostAddress
());
sb
.
append
(
"mac="
).
append
(
macAddress
).
append
(
"&ip="
).
append
(
localHost
.
getHostAddress
());
log
.
info
(
"macAddress:{} IP:{},HostName:{}"
,
macAddress
,
localHost
.
getHostAddress
(),
localHost
.
getHostName
());
log
.
info
(
"macAddress:{} IP:{},HostName:{}"
,
macAddress
,
localHost
.
getHostAddress
(),
localHost
.
getHostName
());
...
...
portal-manager/src/main/resources/bootstrap.yml
View file @
df5ca878
...
@@ -48,5 +48,5 @@ sys:
...
@@ -48,5 +48,5 @@ sys:
pub
:
/home/license/license.pub
pub
:
/home/license/license.pub
log
:
/home/license
log
:
/home/license
license
:
license
:
enable
:
tru
e
enable
:
fals
e
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