活动优惠编写完成

This commit is contained in:
2023-09-20 16:49:54 +08:00
parent ba828626c8
commit 39d662fce3
16 changed files with 331 additions and 24 deletions

View File

@@ -45,6 +45,12 @@ public class ProductInnnerController {
return skuInfoService.findSkuInfoList(skuIdList);
}
@ApiOperation(value = "批量获取分类信息")
@PostMapping("inner/findCategoryList")
public List<Category> findCategoryList(@RequestBody List<Long> categoryIdList) {
return categoryService.listByIds(categoryIdList);
}
@ApiOperation(value = "根据关键字获取sku列表")
@GetMapping("inner/findSkuInfoByKeyword/{keyword}")
public List<SkuInfo> findSkuInfoByKeyword(@PathVariable("keyword") String keyword) {

View File

@@ -6,6 +6,4 @@ spring:
cloud:
nacos:
discovery:
server-addr: localhost:8848
username: nacos
password: nacos
server-addr: 82.157.68.223:8848