商品详情展示

This commit is contained in:
2023-10-08 22:07:41 +08:00
parent cfeefe2dc6
commit bf4e5a807d
23 changed files with 390 additions and 18 deletions

View File

@@ -1,8 +1,10 @@
package com.atguigu.ssyx.client.search;
import com.atguigu.ssyx.model.search.SkuEs;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import java.util.List;
@@ -17,5 +19,9 @@ import java.util.List;
public interface SkuFeignClient {
@GetMapping("/api/search/sku/inner/findHotSkuList")
public List<SkuEs> findHotSkuList();
List<SkuEs> findHotSkuList();
@ApiOperation(value = "更新商品热度")
@GetMapping("/api/search/sku/inner/incrHotScore/{skuId}")
Boolean incrHotScore(@PathVariable("skuId") Long skuId);
}