Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fit-finance
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fitness-server
fit-finance
Commits
a3ef3f40
Commit
a3ef3f40
authored
Sep 23, 2024
by
程裕兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:event
parent
bf1245d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
app/src/main/java/com/jiejing/fitness/finance/app/FitnessFinanceApplication.java
+5
-1
No files found.
app/src/main/java/com/jiejing/fitness/finance/app/FitnessFinanceApplication.java
View file @
a3ef3f40
...
@@ -5,8 +5,10 @@ import com.jiejing.common.config.idgen.EnableLeaseIdWorker;
...
@@ -5,8 +5,10 @@ import com.jiejing.common.config.idgen.EnableLeaseIdWorker;
import
com.jiejing.fitness.event.finance.CashierEvent
;
import
com.jiejing.fitness.event.finance.CashierEvent
;
import
com.jiejing.fitness.finance.service.event.ListenerService
;
import
com.jiejing.fitness.finance.service.event.ListenerService
;
import
com.jiejing.paycenter.common.event.MerchantEvent
;
import
com.jiejing.paycenter.common.event.MerchantEvent
;
import
com.jiejing.paycenter.common.event.MerchantSubChannelEvent
;
import
com.jiejing.paycenter.common.event.PayEvent
;
import
com.jiejing.paycenter.common.event.PayEvent
;
import
com.jiejing.paycenter.common.event.RefundEvent
;
import
com.jiejing.paycenter.common.event.RefundEvent
;
import
com.jiejing.workflow.event.DelayTaskEvent
;
import
com.xiaomai.event.annotation.EnableEventBinding
;
import
com.xiaomai.event.annotation.EnableEventBinding
;
import
com.xiaomai.event.annotation.EventConfig
;
import
com.xiaomai.event.annotation.EventConfig
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
...
@@ -31,7 +33,9 @@ import org.springframework.scheduling.annotation.EnableScheduling;
...
@@ -31,7 +33,9 @@ import org.springframework.scheduling.annotation.EnableScheduling;
@EventConfig
(
event
=
MerchantEvent
.
class
,
binder
=
"biz-kafka"
),
@EventConfig
(
event
=
MerchantEvent
.
class
,
binder
=
"biz-kafka"
),
@EventConfig
(
event
=
PayEvent
.
class
,
binder
=
"biz-kafka"
),
@EventConfig
(
event
=
PayEvent
.
class
,
binder
=
"biz-kafka"
),
@EventConfig
(
event
=
RefundEvent
.
class
,
binder
=
"biz-kafka"
),
@EventConfig
(
event
=
RefundEvent
.
class
,
binder
=
"biz-kafka"
),
@EventConfig
(
event
=
CashierEvent
.
class
,
binder
=
"biz-kafka"
)
@EventConfig
(
event
=
CashierEvent
.
class
,
binder
=
"biz-kafka"
),
@EventConfig
(
event
=
DelayTaskEvent
.
class
,
binder
=
"biz-kafka"
),
@EventConfig
(
event
=
MerchantSubChannelEvent
.
class
,
binder
=
"biz-kafka"
),
},
},
listenerClass
=
{
ListenerService
.
class
})
listenerClass
=
{
ListenerService
.
class
})
@EnableFeignClients
(
basePackages
=
{
@EnableFeignClients
(
basePackages
=
{
...
...
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