Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
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
micro_app
gk
Commits
7115dad1
Commit
7115dad1
authored
Oct 22, 2025
by
daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(log): 移除不必要日志
parent
a7512fe9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
RemoteService.java
...com/dlbridge/jadp/plugins/cmpt/service/RemoteService.java
+4
-4
MicroApiController.java
...om/dlbridge/jadp/plugins/cmpt/web/MicroApiController.java
+1
-1
No files found.
src/main/java/com/dlbridge/jadp/plugins/cmpt/service/RemoteService.java
View file @
7115dad1
...
@@ -74,9 +74,9 @@ public class RemoteService {
...
@@ -74,9 +74,9 @@ public class RemoteService {
log
.
info
(
"requet get url:"
+
url
);
log
.
info
(
"requet get url:"
+
url
);
if
(
forEntity
.
getStatusCode
()
==
HttpStatus
.
OK
)
{
if
(
forEntity
.
getStatusCode
()
==
HttpStatus
.
OK
)
{
String
resultString
=
forEntity
.
getBody
();
String
resultString
=
forEntity
.
getBody
();
log
.
info
(
"resultString:"
+
resultString
);
//
log.info("resultString:" + resultString);
JSONObject
object
=
JSONObject
.
parseObject
(
resultString
);
JSONObject
object
=
JSONObject
.
parseObject
(
resultString
);
//
log.info(object.toJSONString());
//
log.info(object.toJSONString());
if
(
object
.
isEmpty
())
{
if
(
object
.
isEmpty
())
{
return
null
;
return
null
;
}
else
{
}
else
{
...
@@ -147,7 +147,7 @@ public class RemoteService {
...
@@ -147,7 +147,7 @@ public class RemoteService {
"getCmptItemList.do?cmptId="
+
cmptId
,
String
.
class
);
"getCmptItemList.do?cmptId="
+
cmptId
,
String
.
class
);
if
(
forEntity
.
getStatusCode
()
==
HttpStatus
.
OK
)
{
if
(
forEntity
.
getStatusCode
()
==
HttpStatus
.
OK
)
{
String
resultString
=
forEntity
.
getBody
();
String
resultString
=
forEntity
.
getBody
();
log
.
info
(
"resultString:"
+
resultString
);
//
log.info("resultString:" + resultString);
JSONObject
object
=
JSONObject
.
parseObject
(
resultString
);
JSONObject
object
=
JSONObject
.
parseObject
(
resultString
);
log
.
info
(
object
.
toJSONString
());
log
.
info
(
object
.
toJSONString
());
if
(
object
.
isEmpty
())
{
if
(
object
.
isEmpty
())
{
...
@@ -182,7 +182,7 @@ public class RemoteService {
...
@@ -182,7 +182,7 @@ public class RemoteService {
+
cmptId
+
"&idNo="
+
idno
,
String
.
class
);
+
cmptId
+
"&idNo="
+
idno
,
String
.
class
);
if
(
forEntity
.
getStatusCode
()
==
HttpStatus
.
OK
)
{
if
(
forEntity
.
getStatusCode
()
==
HttpStatus
.
OK
)
{
String
resultString
=
forEntity
.
getBody
();
String
resultString
=
forEntity
.
getBody
();
log
.
info
(
"resultString:"
+
resultString
);
//
log.info("resultString:" + resultString);
JSONObject
object
=
JSONObject
.
parseObject
(
resultString
);
JSONObject
object
=
JSONObject
.
parseObject
(
resultString
);
log
.
info
(
object
.
toJSONString
());
log
.
info
(
object
.
toJSONString
());
if
(
object
.
isEmpty
())
{
if
(
object
.
isEmpty
())
{
...
...
src/main/java/com/dlbridge/jadp/plugins/cmpt/web/MicroApiController.java
View file @
7115dad1
...
@@ -414,7 +414,7 @@ public class MicroApiController {
...
@@ -414,7 +414,7 @@ public class MicroApiController {
// 新增耗时计算
// 新增耗时计算
long
endTime
=
System
.
currentTimeMillis
();
long
endTime
=
System
.
currentTimeMillis
();
long
duration
=
endTime
-
startTime
;
long
duration
=
endTime
-
startTime
;
log
.
info
(
"获取合作信息耗时:"
+
duration
+
"毫秒"
);
//
log.info("获取合作信息耗时:" + duration + "毫秒");
return
Result
.
success
().
setContent
(
result
);
return
Result
.
success
().
setContent
(
result
);
}
}
...
...
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