fwq
2024-04-23 ebdd612ec22af566fa4a0707fef15e5e0a89e6fb
提交 | 用户 | age
e98033 1 package com.hz.his.feign.service.sync;
R 2
3 import com.hx.resultTool.Result;
4 import org.springframework.cloud.openfeign.FeignClient;
5 import org.springframework.web.bind.annotation.PostMapping;
f0fd9a 6 import org.springframework.web.bind.annotation.RequestBody;
e98033 7
R 8 import java.util.Map;
9
10 /**
f0fd9a 11  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
e98033 12  */
f0fd9a 13 @FeignClient(name="synchro-service",path = "/his_synchro",contextId = "synchro-st-user")
e98033 14 public interface SyncSTUserImgService {
R 15
16
f0fd9a 17     /*** 同步商品用户头像**/
e98033 18     @PostMapping(value = "/st/sync/getStImgUrl")
f0fd9a 19     Result syncStUserImg(@RequestBody Map<String,Object> userMap);
R 20 }