Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
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
order-group-application
order-group
Commits
04bf310e
Commit
04bf310e
authored
Sep 15, 2021
by
李学兴
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/20210830_礼品卡支付_wuping' into qa
parents
d6369138
825fd755
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
order-application-service/src/main/java/cn/freemud/OrderApplication.java
+4
-8
No files found.
order-application-service/src/main/java/cn/freemud/OrderApplication.java
View file @
04bf310e
...
...
@@ -14,6 +14,7 @@ package cn.freemud;
import
cn.freemud.core.db.DataSourcesConfig
;
import
com.alibaba.fastjson.parser.ParserConfig
;
import
com.freemud.application.sdk.api.couponcenter.config.CouponRestTemplateConfig
;
import
com.freemud.application.sdk.api.log.LogThreadLocal
;
import
feign.RequestInterceptor
;
import
org.apache.commons.lang.StringUtils
;
...
...
@@ -29,12 +30,7 @@ import org.springframework.boot.web.servlet.ServletComponentScan;
import
org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker
;
import
org.springframework.cloud.client.discovery.EnableDiscoveryClient
;
import
org.springframework.cloud.openfeign.EnableFeignClients
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.ComponentScan
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.EnableAspectJAutoProxy
;
import
org.springframework.http.converter.HttpMessageConverter
;
import
org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
;
import
org.springframework.context.annotation.*
;
import
org.springframework.scheduling.annotation.EnableAsync
;
import
org.springframework.scheduling.annotation.EnableScheduling
;
import
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
;
...
...
@@ -43,14 +39,14 @@ import tk.mybatis.spring.annotation.MapperScan;
import
java.util.concurrent.Executor
;
import
java.util.concurrent.ThreadPoolExecutor
;
@ServletComponentScan
@ImportAutoConfiguration
(
classes
=
{
DataSourcesConfig
.
class
})
@EnableSwagger2
@EnableCircuitBreaker
@SpringBootApplication
(
exclude
=
RedisAutoConfiguration
.
class
)
@EnableDiscoveryClient
@EnableAspectJAutoProxy
@ComponentScan
({
"cn.freemud"
,
"com.freemud"
})
@ComponentScan
(
value
=
{
"cn.freemud"
,
"com.freemud"
},
excludeFilters
=
{
@ComponentScan
.
Filter
(
type
=
FilterType
.
ASSIGNABLE_TYPE
,
classes
={
CouponRestTemplateConfig
.
RestTemplateConfig
.
class
})})
@MapperScan
({
"cn.freemud.*.dao"
,
"com.freemud.sdk.api.assortment.orderdistributor.mapper"
,
"com.freemud.api.assortment.datamanager.manager"
,
"com.freemud.api.assortment.datamanager.queue.dao"
,
"com.freemud.api.assortment.datamanager.rbac.dao"
,
"com.freemud.api.assortment.datamanager.queue.entity"
})
@EnableFeignClients
({
"cn.freemud.service.thirdparty"
,
...
...
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