修复足迹不能删除的问题

This commit is contained in:
hupeng
2020-09-17 11:39:43 +08:00
parent b88e515ef4
commit 9291c18329
5 changed files with 6 additions and 6 deletions

View File

@ -25,5 +25,5 @@ public class YxStoreProductRelationQueryParam {
private String id;
@ApiModelProperty(value = "某种类型的商品(普通商品、秒杀商品)")
private String category;
private String category = "root";
}

View File

@ -251,7 +251,7 @@ public class StoreProductController {
throw new YshopException("参数非法");
}
productRelationService.delRroductRelation(Long.valueOf(param.getId()),
uid);
uid,param.getCategory());
return ApiResult.ok();
}