瀏覽代碼

http://192.168.0.21/index.php?m=bug&f=view&bugID=25801

lyhzzz 3 年之前
父節點
當前提交
bfe93731ba
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      platform-shop/src/main/java/com/platform/controller/GoodsController.java

+ 2 - 2
platform-shop/src/main/java/com/platform/controller/GoodsController.java

@@ -126,7 +126,7 @@ public class GoodsController extends AbstractController{
             return Result.failure("商品名称名称不能超过15个字符");
         }
         if(StringUtils.isEmpty(goods.getBrandId())){
-            throw new RRException("直播间id为空");
+            throw new RRException("直播间名称为空");
         }
         BrandEntity brand = brandService.queryObject(goods.getBrandId());
         if(brand == null){
@@ -344,7 +344,7 @@ public class GoodsController extends AbstractController{
             return Result.failure("商品不存在");
         }
         if(StringUtils.isEmpty(goods.getBrandId())){
-            throw new RRException("直播间id为空");
+            throw new RRException("直播间名称为空");
         }
         BrandEntity brand = brandService.queryObject(goods.getBrandId());
         if(brand == null){