fwq
2024-04-24 1b6aaa7d6c379ccdb0870a36f848c1f811577bf0
提交 | 用户 | 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 }