记得上下班打卡 | 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
c67d3d4d
Commit
c67d3d4d
authored
Mar 11, 2026
by
姜秀龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
damai kylin to platform
parent
34349732
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
13 deletions
+14
-13
FeignPlatformTaskClient.java
...net/service/feign/kylin/task/FeignPlatformTaskClient.java
+0
-3
FeignPlatformApiClient.java
...et/service/feign/platform/api/FeignPlatformApiClient.java
+4
-0
KylinTaskHandler.java
...idnet/service/executor/main/handler/KylinTaskHandler.java
+0
-10
PlatformTaskHandler.java
...et/service/executor/main/handler/PlatformTaskHandler.java
+10
-0
No files found.
liquidnet-bus-feign/liquidnet-api-feign-kylin/src/main/java/com/liquidnet/service/feign/kylin/task/FeignPlatformTaskClient.java
View file @
c67d3d4d
...
@@ -54,7 +54,4 @@ public interface FeignPlatformTaskClient {
...
@@ -54,7 +54,4 @@ public interface FeignPlatformTaskClient {
@GetMapping
(
"platform/refund/failRefund"
)
@GetMapping
(
"platform/refund/failRefund"
)
ResponseDto
<
Boolean
>
failRefund
();
ResponseDto
<
Boolean
>
failRefund
();
@PostMapping
(
"platform/damai/scheduledSync"
)
ResponseDto
<
Boolean
>
scheduledSyncDamai
();
}
}
liquidnet-bus-feign/liquidnet-api-feign-platform/src/main/java/com/liquidnet/service/feign/platform/api/FeignPlatformApiClient.java
View file @
c67d3d4d
...
@@ -5,6 +5,7 @@ import feign.hystrix.FallbackFactory;
...
@@ -5,6 +5,7 @@ import feign.hystrix.FallbackFactory;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Component
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RequestParam
;
@Component
@Component
...
@@ -29,4 +30,7 @@ public interface FeignPlatformApiClient {
...
@@ -29,4 +30,7 @@ public interface FeignPlatformApiClient {
@RequestParam
(
"pageSize"
)
Integer
pageSize
@RequestParam
(
"pageSize"
)
Integer
pageSize
);
);
@PostMapping
(
"platform/damai/scheduledSync"
)
ResponseDto
<
Boolean
>
scheduledSyncDamai
();
}
}
liquidnet-bus-service/liquidnet-service-executor-all/liquidnet-service-executor-main/src/main/java/com/liquidnet/service/executor/main/handler/KylinTaskHandler.java
View file @
c67d3d4d
...
@@ -122,14 +122,4 @@ public class KylinTaskHandler {
...
@@ -122,14 +122,4 @@ public class KylinTaskHandler {
}
}
}
}
@XxlJob
(
value
=
"sev-platform:scheduledSyncDamai"
)
public
void
scheduledSyncDamaiHandler
()
{
try
{
XxlJobHelper
.
handleSuccess
(
"定时大麦同步结果:"
+
feignPlatformTaskClient
.
scheduledSyncDamai
().
getData
());
}
catch
(
Exception
e
)
{
XxlJobHelper
.
log
(
e
);
XxlJobHelper
.
handleFail
();
}
}
}
}
liquidnet-bus-service/liquidnet-service-executor-all/liquidnet-service-executor-main/src/main/java/com/liquidnet/service/executor/main/handler/PlatformTaskHandler.java
View file @
c67d3d4d
...
@@ -153,4 +153,14 @@ public class PlatformTaskHandler {
...
@@ -153,4 +153,14 @@ public class PlatformTaskHandler {
XxlJobHelper
.
handleFail
();
XxlJobHelper
.
handleFail
();
}
}
}
}
@XxlJob
(
value
=
"sev-platform:scheduledSyncDamai"
)
public
void
scheduledSyncDamaiHandler
()
{
try
{
XxlJobHelper
.
handleSuccess
(
"定时大麦同步结果:"
+
feignPlatformApiClient
.
scheduledSyncDamai
().
getData
());
}
catch
(
Exception
e
)
{
XxlJobHelper
.
log
(
e
);
XxlJobHelper
.
handleFail
();
}
}
}
}
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