package com.ruoyi.system.api.feignClient; import com.ruoyi.common.core.constant.ServiceNameConstants;; import com.ruoyi.common.core.domain.R; import com.ruoyi.system.api.domain.GoodsSku; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; @FeignClient(contextId = "GoodsSkuClient", value = ServiceNameConstants.RUOYI_MODULES_GOODS) public interface GoodsSkuClient { @GetMapping("/goods-sku/getGoodsSkuOne/{goodsSkuId}") R queryRoleByUserId(@PathVariable("goodsSkuId") Integer goodsSkuId); }