记得上下班打卡 | git大法好,push需谨慎

Commit 203a53f8 authored by jiangxiulong's avatar jiangxiulong

新增 slime feign

parent 7c2b56b2
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>liquidnet-bus-feign</artifactId>
<groupId>com.liquidnet</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>liquidnet-api-feign-slime</artifactId>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>com.liquidnet</groupId>
<artifactId>liquidnet-service-slime-api</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
\ No newline at end of file
package com.liquidnet.service.feign.slime.api;
import com.liquidnet.service.base.ResponseDto;
import com.liquidnet.service.slime.dto.vo.SlimeFieldsDetailsVo;
import feign.hystrix.FallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
@Component
@FeignClient(name = "liquidnet-service-slime",
contextId = "FeignSlimeApiClient", path = "slime",
url = "${liquidnet.service.slime.url}",
fallback = FallbackFactory.Default.class)
public interface FeignSlimeApiClient {
@GetMapping("fields/app/details")
ResponseDto<SlimeFieldsDetailsVo> fieldDetails(@RequestParam("fieldId") String fieldId);
}
......@@ -20,6 +20,7 @@
<module>liquidnet-api-feign-chime</module>
<module>liquidnet-api-feign-stone</module>
<module>liquidnet-api-feign-candy</module>
<module>liquidnet-api-feign-slime</module>
<!-- <module>liquidnet-api-feign-sequence</module>-->
<!-- <module>liquidnet-api-feign-example</module>-->
<!-- <module>liquidnet-api-feign-account</module>-->
......
......@@ -58,7 +58,7 @@ public class SweetMathUtil {
// getIndex("sweet:user:applet:unionid:oSpYSs1NH3glVRvVLNmUKqyjxKng");
// getIndex("sweet:user:applet:mobile:17638582147");
// basicServices
// getIndex("basicServices:upushList:IOS");
getIndex("kylin:order:refund:address");
// getIndex("basicServices:upushList:Android");
// getIndex("basicServices:zhengzaiAppVersionsAndroid");
......
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