Commit f9413e98 by xieshixiang

添加注释

parent 75d80982
......@@ -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")
......
......@@ -9,3 +9,9 @@ apollo:
namespaces: Java.park-eureka,Java.park-redis,Java.park-feign,Java.park-mysql,extend
eagerLoad:
enabled: true
spring:
datasource:
dynamic:
druid:
clear-filters-enable:
\ No newline at end of file
......@@ -9,3 +9,9 @@ apollo:
namespaces: Java.park-local-eureka,Java.park-redis,Java.park-feign,Java.park-mysql,extend
eagerLoad:
enabled: true
spring:
datasource:
dynamic:
druid:
connection-properties:
\ No newline at end of file
......@@ -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>
......
......@@ -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>
......
......@@ -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 {
......
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