主页-我的课程

This commit is contained in:
wuchunlei
2024-04-11 09:05:34 +08:00
parent fe14ece2a3
commit b705aec11d
68 changed files with 1772 additions and 4 deletions

View File

@@ -132,7 +132,7 @@ public class BookLabelAndMarketController {
}else {
List<ShopProductBookLabel> labelList = labelService.list(new LambdaQueryWrapper<ShopProductBookLabel>().eq(ShopProductBookLabel::getPid,id));
if (labelList.size() > 0) {
return R.error("请先删除子集,设置成最后一集");
return R.error("请先删除子集");
}else {
labelService.removeById(id);
return R.ok();
@@ -193,7 +193,7 @@ public class BookLabelAndMarketController {
}else {
List<ShopProductBookMarket> marketList = marketService.list(new LambdaQueryWrapper<ShopProductBookMarket>().eq(ShopProductBookMarket::getPid,id));
if (marketList.size() > 0) {
return R.error("请先删除子集,设置成最后一集");
return R.error("请先删除子集");
}else {
marketService.removeById(id);
return R.ok();