Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-cloud
Overview
Overview
Details
Activity
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
data-hook
gic-cloud
Commits
566521bc
Commit
566521bc
authored
Sep 10, 2021
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取数平台调整
parent
f4724411
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
DataInitUtils.java
...n/java/com/gic/cloud/data/hook/service/DataInitUtils.java
+0
-2
No files found.
gic-cloud-data-hook-service/src/main/java/com/gic/cloud/data/hook/service/DataInitUtils.java
View file @
566521bc
...
@@ -26,7 +26,6 @@ public class DataInitUtils {
...
@@ -26,7 +26,6 @@ public class DataInitUtils {
Config
config
=
ConfigService
.
getConfig
(
"application"
);
Config
config
=
ConfigService
.
getConfig
(
"application"
);
String
customRouterHost
=
config
.
getProperty
(
"customRouterHost"
,
""
);
String
customRouterHost
=
config
.
getProperty
(
"customRouterHost"
,
""
);
String
customRouterEnterpriseId
=
config
.
getProperty
(
"customRouterEnterpriseId"
,
""
);
String
customRouterEnterpriseId
=
config
.
getProperty
(
"customRouterEnterpriseId"
,
""
);
log
.
debug
(
"查询本机的内网ip"
,
host
);
for
(
DownloadRecord
downloadRecord
:
allList
){
for
(
DownloadRecord
downloadRecord
:
allList
){
if
(
host
.
equals
(
customRouterHost
)){
if
(
host
.
equals
(
customRouterHost
)){
if
(
customRouterEnterpriseId
.
equals
(
downloadRecord
.
getEnterpriseId
())){
if
(
customRouterEnterpriseId
.
equals
(
downloadRecord
.
getEnterpriseId
())){
...
@@ -46,7 +45,6 @@ public class DataInitUtils {
...
@@ -46,7 +45,6 @@ public class DataInitUtils {
Config
config
=
ConfigService
.
getConfig
(
"application"
);
Config
config
=
ConfigService
.
getConfig
(
"application"
);
String
customRouterHost
=
config
.
getProperty
(
"customRouterHost"
,
""
);
String
customRouterHost
=
config
.
getProperty
(
"customRouterHost"
,
""
);
String
customRouterEnterpriseId
=
config
.
getProperty
(
"customRouterEnterpriseId"
,
""
);
String
customRouterEnterpriseId
=
config
.
getProperty
(
"customRouterEnterpriseId"
,
""
);
log
.
debug
(
"查询本机的内网ip"
,
host
);
for
(
DownloadTask
downloadTask
:
allList
){
for
(
DownloadTask
downloadTask
:
allList
){
if
(
host
.
equals
(
customRouterHost
)){
if
(
host
.
equals
(
customRouterHost
)){
if
(
customRouterEnterpriseId
.
equals
(
downloadTask
.
getEnterpriseId
())){
if
(
customRouterEnterpriseId
.
equals
(
downloadTask
.
getEnterpriseId
())){
...
...
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