mitao
2024-05-17 14f8be1a86a3d852b92665fcf4c767478c3e12d2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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<GoodsSku> queryRoleByUserId(@PathVariable("goodsSkuId") Integer goodsSkuId);
}