Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
extend
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
park
extend
Commits
f9413e98
Commit
f9413e98
authored
Jun 21, 2020
by
xieshixiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加注释
parent
75d80982
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
12 deletions
+23
-12
api/src/main/java/com/hikcreate/edl/pub/web/mobile/api/ApiApplication.java
+2
-1
api/src/main/resources/application-dev.yml
+8
-2
api/src/main/resources/application-local.yml
+8
-2
domain/pom.xml
+1
-1
infra/pom.xml
+2
-2
infra/src/main/java/com/hikcreate/edl/pub/web/mobile/infra/data/feign/dcp_service_vehicle/DrivingLicenseFeign.java
+2
-4
No files found.
api/src/main/java/com/hikcreate/edl/pub/web/mobile/api/ApiApplication.java
View file @
f9413e98
...
...
@@ -10,7 +10,8 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import
org.springframework.cloud.netflix.eureka.EnableEurekaClient
;
import
org.springframework.cloud.openfeign.EnableFeignClients
;
@SpringBootApplication
(
scanBasePackages
=
"com.hikcreate.edl.pub.web.mobile"
,
exclude
=
DruidDataSourceAutoConfigure
.
class
)
@SpringBootApplication
(
scanBasePackages
=
"com.hikcreate.edl.pub.web.mobile"
,
exclude
=
DruidDataSourceAutoConfigure
.
class
)
@MapperScan
(
basePackages
=
"com.hikcreate.edl.pub.web.mobile.infra.data.mapper"
)
@EnableDiscoveryClient
@EnableFeignClients
(
"com.hikcreate"
)
...
...
api/src/main/resources/application-dev.yml
View file @
f9413e98
...
...
@@ -8,4 +8,10 @@ apollo:
enabled
:
true
namespaces
:
Java.park-eureka,Java.park-redis,Java.park-feign,Java.park-mysql,extend
eagerLoad
:
enabled
:
true
\ No newline at end of file
enabled
:
true
spring
:
datasource
:
dynamic
:
druid
:
clear-filters-enable
:
\ No newline at end of file
api/src/main/resources/application-local.yml
View file @
f9413e98
...
...
@@ -8,4 +8,10 @@ apollo:
enabled
:
true
namespaces
:
Java.park-local-eureka,Java.park-redis,Java.park-feign,Java.park-mysql,extend
eagerLoad
:
enabled
:
true
\ No newline at end of file
enabled
:
true
spring
:
datasource
:
dynamic
:
druid
:
connection-properties
:
\ No newline at end of file
domain/pom.xml
View file @
f9413e98
...
...
@@ -5,7 +5,7 @@
<parent>
<groupId>
com.hikcreate.edl.pub.web.mobile
</groupId>
<artifactId>
root
</artifactId>
<version>
1.9-SNAPSHOT
</version>
<version>
1.9-SNAPSHOT
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
...
...
infra/pom.xml
View file @
f9413e98
...
...
@@ -5,7 +5,7 @@
<parent>
<groupId>
com.hikcreate.edl.pub.web.mobile
</groupId>
<artifactId>
root
</artifactId>
<version>
1.9-SNAPSHOT
</version>
<version>
1.9-SNAPSHOT
</version>
<relativePath>
../pom.xml
</relativePath>
</parent>
...
...
@@ -18,7 +18,7 @@
<dependency>
<groupId>
com.baomidou
</groupId>
<artifactId>
mybatis-plus-boot-starter
</artifactId>
<version>
${mybatis.version}
</version>
<version>
${mybatis.version}
</version>
</dependency>
<dependency>
...
...
infra/src/main/java/com/hikcreate/edl/pub/web/mobile/infra/data/feign/dcp_service_vehicle/DrivingLicenseFeign.java
View file @
f9413e98
...
...
@@ -3,18 +3,16 @@ package com.hikcreate.edl.pub.web.mobile.infra.data.feign.dcp_service_vehicle;
import
com.hikcreate.edl.pub.web.mobile.infra.data.feign.dcp_service_vehicle.param.request.IdCardQueryReq
;
import
com.hikcreate.edl.pub.web.mobile.infra.data.feign.dcp_service_vehicle.param.response.DrivingLicenseRes
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.validation.Valid
;
/**
*
*/
@RestController
@RequestMapping
(
"drivingLicense"
)
@FeignClient
(
value
=
"dcp-service-vem"
,
path
=
"DrivingLicense"
,
contextId
=
"dcp-service-vem-drivingLicense"
)
public
interface
DrivingLicenseFeign
{
...
...
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