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