商品详情展示
This commit is contained in:
@@ -2,6 +2,7 @@ package com.atguigu.ssyx.client.product;
|
||||
|
||||
import com.atguigu.ssyx.model.product.Category;
|
||||
import com.atguigu.ssyx.model.product.SkuInfo;
|
||||
import com.atguigu.ssyx.vo.product.SkuInfoVo;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
@@ -70,7 +71,7 @@ public interface ProductFeignClient {
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/api/product/inner/findAllCategoryList")
|
||||
public List<Category> findAllCategoryList();
|
||||
List<Category> findAllCategoryList();
|
||||
|
||||
/**
|
||||
* 获取新人优惠
|
||||
@@ -78,5 +79,14 @@ public interface ProductFeignClient {
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/api/product/inner/findNewPersonSkuInfoList")
|
||||
public List<SkuInfo> findNewPersonSkuInfoList();
|
||||
List<SkuInfo> findNewPersonSkuInfoList();
|
||||
|
||||
/**
|
||||
* 根据skuId获取sku信息
|
||||
*
|
||||
* @param skuId
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/api/product/inner/getSkuInfoVo/{skuId}")
|
||||
SkuInfoVo getSkuInfoVo(@PathVariable Long skuId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user