Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dex-basic-service-expand
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
INET-TWO
server
dex-basic-service-expand
Commits
bbca182f
Commit
bbca182f
authored
Oct 22, 2024
by
侯彦文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改扫描包
parent
592a3bfd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
8 deletions
+15
-8
ServerApplication.java
...in/java/com/yonde/dex/basic/server/ServerApplication.java
+15
-8
No files found.
dex-basic-service-expand-server/src/main/java/com/yonde/dex/basic/server/ServerApplication.java
View file @
bbca182f
package
com
.
yonde
.
dex
.
basic
.
server
;
import
com.yonde.dex.dao.DEXDaoServiceBoot
;
import
com.yonde.dex.dao.service.adapter.EnableFeignClientsAutoReplace
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.domain.EntityScan
;
import
org.springframework.cloud.client.discovery.EnableDiscoveryClient
;
import
org.springframework.cloud.openfeign.EnableFeignClients
;
import
org.springframework.context.annotation.ComponentScan
;
import
org.springframework.data.jpa.repository.config.EnableJpaAuditing
;
import
org.springframework.data.jpa.repository.config.EnableJpaRepositories
;
import
org.springframework.data.repository.config.BootstrapMode
;
@ComponentScan
(
basePackages
=
{
"com.yonde"
}
)
@ComponentScan
(
basePackages
=
{
"com.yonde"
,
"${extPackages:''}"
})
@EnableJpaAuditing
@EnableDiscoveryClient
@SpringBootApplication
@DEXDaoServiceBoot
(
jpaBasePackages
=
{
"com.yonde"
},
entityBasePackages
=
{
"com.yonde"
},
feignBasePackages
=
{
"com.yonde"
},
feignReplaceBasePackages
=
{
"com.yonde"
},
entityCollectorBasePackages
=
{
"com.yonde"
}
jpaBasePackages
=
{
"com.yonde"
,
"${extPackages:''}"
},
entityBasePackages
=
{
"com.yonde"
,
"${extPackages:''}"
},
feignBasePackages
=
{
"com.yonde"
,
"${extPackages:''}"
},
feignReplaceBasePackages
=
{
"com.yonde"
,
"${extPackages:''}"
},
entityCollectorBasePackages
=
{
"com.yonde"
,
"${extPackages:''}"
}
)
@EnableFeignClients
({
"com.yonde"
,
"${extPackages:''}"
})
@EnableFeignClientsAutoReplace
(
basePackages
=
{
"com.yonde"
,
"${extPackages:''}"
})
@EnableJpaRepositories
(
basePackages
=
{
"com.yonde"
,
"${extPackages:''}"
},
bootstrapMode
=
BootstrapMode
.
DEFERRED
)
@EntityScan
(
basePackages
=
{
"com.yonde"
,
"${extPackages:''}"
})
public
class
ServerApplication
{
public
static
void
main
(
String
[]
args
)
{
...
...
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