|
@@ -84,7 +84,7 @@ public class GoodsSpecificationController extends BaseController {
|
|
|
|
|
|
|
|
@PostMapping("/saveAll")
|
|
@PostMapping("/saveAll")
|
|
|
@ApiOperation("批量保存规格")
|
|
@ApiOperation("批量保存规格")
|
|
|
- public List<GoodsSpecification> saveAll(@RequestParam(value = "spec") List<GoodsSpecification> spec) {
|
|
|
|
|
|
|
+ public List<GoodsSpecification> saveAll(@RequestBody List<GoodsSpecification> spec) {
|
|
|
return goodsSpecificationService.saveAll(spec);
|
|
return goodsSpecificationService.saveAll(spec);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|