活动优惠编写完成
This commit is contained in:
@@ -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) {
|
||||
|
@@ -6,6 +6,4 @@ spring:
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: localhost:8848
|
||||
username: nacos
|
||||
password: nacos
|
||||
server-addr: 82.157.68.223:8848
|
||||
|
Reference in New Issue
Block a user