wuxw7
2018-04-13 3de85d01308c5efa0bc77d4a02fdc9a16d5aa9fb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.java110.feign.base;
 
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
 
/**
 * 主键信息查询
 * Created by wuxw on 2017/4/11.
 */
@FeignClient(name = "base-service", fallback = PrimaryKeyServiceFallback.class)
public interface IPrimaryKeyService {
 
    @RequestMapping("/primaryKeyService/queryPrimaryKey")
    public String queryPrimaryKey(@RequestParam("data") String data);
}