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