修复足迹不能删除的问题
This commit is contained in:
@ -25,5 +25,5 @@ public class YxStoreProductRelationQueryParam {
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty(value = "某种类型的商品(普通商品、秒杀商品)")
|
||||
private String category;
|
||||
private String category = "root";
|
||||
}
|
||||
|
@ -251,7 +251,7 @@ public class StoreProductController {
|
||||
throw new YshopException("参数非法");
|
||||
}
|
||||
productRelationService.delRroductRelation(Long.valueOf(param.getId()),
|
||||
uid);
|
||||
uid,param.getCategory());
|
||||
return ApiResult.ok();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user