|
@@ -170,8 +170,8 @@ public class FsStoreProductScrmController extends BaseController
|
|
|
|
|
|
@ApiOperation(value = "生成属性")
|
|
|
@PostMapping(value = "/genFormatAttr/{productId}")
|
|
|
- public ResponseEntity genFormatAttr(@PathVariable Long productId,@RequestBody FormatAttrParam param){
|
|
|
- return new ResponseEntity<>(fsStoreProductService.getFormatAttr(productId,param.getAttrs(),param.getStores()), HttpStatus.OK);
|
|
|
+ public ResponseEntity genFormatAttr(@PathVariable Long productId, @RequestBody String jsonStr){
|
|
|
+ return new ResponseEntity<>(fsStoreProductService.getFormatAttr(productId,jsonStr,null), HttpStatus.OK);
|
|
|
}
|
|
|
|
|
|
|