Commit f9413e98 by xieshixiang

添加注释

parent 75d80982
...@@ -10,7 +10,8 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient; ...@@ -10,7 +10,8 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient; import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients; 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") @MapperScan(basePackages = "com.hikcreate.edl.pub.web.mobile.infra.data.mapper")
@EnableDiscoveryClient @EnableDiscoveryClient
@EnableFeignClients("com.hikcreate") @EnableFeignClients("com.hikcreate")
......
...@@ -9,3 +9,9 @@ apollo: ...@@ -9,3 +9,9 @@ apollo:
namespaces: Java.park-eureka,Java.park-redis,Java.park-feign,Java.park-mysql,extend namespaces: Java.park-eureka,Java.park-redis,Java.park-feign,Java.park-mysql,extend
eagerLoad: eagerLoad:
enabled: true enabled: true
spring:
datasource:
dynamic:
druid:
clear-filters-enable:
\ No newline at end of file
...@@ -9,3 +9,9 @@ apollo: ...@@ -9,3 +9,9 @@ apollo:
namespaces: Java.park-local-eureka,Java.park-redis,Java.park-feign,Java.park-mysql,extend namespaces: Java.park-local-eureka,Java.park-redis,Java.park-feign,Java.park-mysql,extend
eagerLoad: eagerLoad:
enabled: true enabled: true
spring:
datasource:
dynamic:
druid:
connection-properties:
\ No newline at end of file
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<parent> <parent>
<groupId>com.hikcreate.edl.pub.web.mobile</groupId> <groupId>com.hikcreate.edl.pub.web.mobile</groupId>
<artifactId>root</artifactId> <artifactId>root</artifactId>
<version> 1.9-SNAPSHOT</version> <version>1.9-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<parent> <parent>
<groupId>com.hikcreate.edl.pub.web.mobile</groupId> <groupId>com.hikcreate.edl.pub.web.mobile</groupId>
<artifactId>root</artifactId> <artifactId>root</artifactId>
<version> 1.9-SNAPSHOT</version> <version>1.9-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath> <relativePath>../pom.xml</relativePath>
</parent> </parent>
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<dependency> <dependency>
<groupId>com.baomidou</groupId> <groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId> <artifactId>mybatis-plus-boot-starter</artifactId>
<version> ${mybatis.version}</version> <version>${mybatis.version}</version>
</dependency> </dependency>
<dependency> <dependency>
......
...@@ -3,18 +3,16 @@ package com.hikcreate.edl.pub.web.mobile.infra.data.feign.dcp_service_vehicle; ...@@ -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.request.IdCardQueryReq;
import com.hikcreate.edl.pub.web.mobile.infra.data.feign.dcp_service_vehicle.param.response.DrivingLicenseRes; 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.PostMapping;
import org.springframework.web.bind.annotation.RequestBody; 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; import javax.validation.Valid;
/** /**
* *
*/ */
@RestController @FeignClient(value = "dcp-service-vem", path = "DrivingLicense", contextId = "dcp-service-vem-drivingLicense")
@RequestMapping("drivingLicense")
public interface DrivingLicenseFeign { public interface DrivingLicenseFeign {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment