Browse Source

动态bug修复

xiaogang 3 năm trước cách đây
mục cha
commit
54115a42c0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Services/DynamicService.php

+ 1 - 1
app/Services/DynamicService.php

xqd
@@ -82,7 +82,7 @@ class DynamicService
             }
         }
 
-        if(count($dynamicParam->img_url)>6){
+        if(!empty($dynamicParam->img_url) && count($dynamicParam->img_url)>6){
             throw new Exception("最多上传6张图片");
         }