|
@@ -162,7 +162,7 @@ public class CategoryManagerController {
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "category_id", value = "分类id", required = true, paramType = "path", dataType = "Long"),
|
|
|
@ApiImplicitParam(name = "choose_specs", value = "规格id数组", required = true, paramType = "query", dataType = "Long", allowMultiple = true),})
|
|
|
- @PutMapping(value = "/{category_id}/specs")
|
|
|
+ @PutMapping(value = "/specs/{category_id}")
|
|
|
@Log(client = LogClient.admin, detail = "为ID为[${categoryId}]的商品分类绑定规格信息")
|
|
|
public List<CategorySpecDO> saveSpec(@PathVariable("category_id") Long categoryId, @ApiIgnore @RequestParam(value = "choose_specs", required = false) Long[] chooseSpecs) {
|
|
|
|