Forráskód Böngészése

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

lyhzzz 3 éve
szülő
commit
bfe93731ba

+ 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){