guoshilong
2023-06-21 4bdde4f8171028442dd2d1da6f0be715cd676853
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package cn.gistack.sm.collect.feign;
 
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
 
@FeignClient(
    value = "blade-sm",
    fallback = ICollectClientFallback.class
)
public interface ICollectClient {
    String API_PREFIX = "/client";
    String GET_MY_COLLECT = API_PREFIX + "/getMyCollect";
 
    @GetMapping(GET_MY_COLLECT)
    String getMyCollect(@RequestParam("userId") String userId);
 
 
 
 
}