记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
dc34d0ce
Commit
dc34d0ce
authored
Feb 21, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~JOB:商城:商铺活动开启关闭;
parent
f656e9e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
PlatformGoblinTaskHandler.java
...vice/executor/main/handler/PlatformGoblinTaskHandler.java
+4
-12
No files found.
liquidnet-bus-service/liquidnet-service-executor-all/liquidnet-service-executor-main/src/main/java/com/liquidnet/service/executor/main/handler/PlatformGoblinTaskHandler.java
View file @
dc34d0ce
...
...
@@ -26,14 +26,10 @@ public class PlatformGoblinTaskHandler {
ResponseDto
<
String
>
dto
=
feignPlatformGoblinTaskClient
.
goodsOnShelvesHandler
();
String
dtoStr
=
JsonUtils
.
toJson
(
dto
);
log
.
info
(
"result of handler:{}"
,
dtoStr
);
ReturnT
<
String
>
success
=
ReturnT
.
SUCCESS
;
success
.
setMsg
(
dtoStr
);
return
success
;
return
new
ReturnT
<>(
ReturnT
.
SUCCESS_CODE
,
dtoStr
);
}
catch
(
Exception
e
)
{
log
.
error
(
"exception of handler:{}"
,
e
.
getMessage
(),
e
);
ReturnT
<
String
>
fail
=
ReturnT
.
FAIL
;
fail
.
setMsg
(
e
.
getLocalizedMessage
());
return
fail
;
return
new
ReturnT
<>(
ReturnT
.
FAIL_CODE
,
e
.
getLocalizedMessage
());
}
}
...
...
@@ -44,14 +40,10 @@ public class PlatformGoblinTaskHandler {
ResponseDto
<
String
>
dto
=
feignPlatformGoblinTaskClient
.
storeMarketActivityHandler
();
String
dtoStr
=
JsonUtils
.
toJson
(
dto
);
log
.
info
(
"result of handler:{}"
,
dtoStr
);
ReturnT
<
String
>
success
=
ReturnT
.
SUCCESS
;
success
.
setMsg
(
dtoStr
);
return
success
;
return
new
ReturnT
<>(
ReturnT
.
SUCCESS_CODE
,
dtoStr
);
}
catch
(
Exception
e
)
{
log
.
error
(
"exception of handler:{}"
,
e
.
getMessage
(),
e
);
ReturnT
<
String
>
fail
=
ReturnT
.
FAIL
;
fail
.
setMsg
(
e
.
getLocalizedMessage
());
return
fail
;
return
new
ReturnT
<>(
ReturnT
.
FAIL_CODE
,
e
.
getLocalizedMessage
());
}
}
}
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