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
da9aa408
Commit
da9aa408
authored
Aug 08, 2025
by
daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(MicroApi): 合作信息新增耗时
parent
5a46ceba
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
MicroApiController.java
...om/dlbridge/jadp/plugins/cmpt/web/MicroApiController.java
+6
-0
No files found.
src/main/java/com/dlbridge/jadp/plugins/cmpt/web/MicroApiController.java
View file @
da9aa408
...
...
@@ -401,6 +401,8 @@ public class MicroApiController {
@ApiResponse
(
code
=
-
1
,
message
=
"失败"
,
response
=
ObjectUtils
.
Null
.
class
),
@ApiResponse
(
code
=
200
,
message
=
"成功"
,
response
=
Result
.
class
,
responseContainer
=
"List"
)})
public
Result
getCustomer
(
@PathVariable
(
"cmptId"
)
Integer
cmptId
)
{
// 新增耗时计算
long
startTime
=
System
.
currentTimeMillis
();
Customer
customer
=
customerService
.
getCusomerServiceInfo
(
cmptId
);
FuncSetting
setting
=
funcSettingService
.
getSettingByCmptId
(
cmptId
);
Map
<
String
,
String
>
result
=
new
HashMap
<>();
...
...
@@ -409,6 +411,10 @@ public class MicroApiController {
}
else
{
result
.
put
(
"mobile"
,
customer
==
null
?
""
:
customer
.
getMobile
());
}
// 新增耗时计算
long
endTime
=
System
.
currentTimeMillis
();
long
duration
=
endTime
-
startTime
;
log
.
info
(
"获取合作信息耗时:"
+
duration
+
"毫秒"
);
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