|
@@ -192,9 +192,8 @@ class Goods extends BaseShop
|
|
|
$volume = input("volume", "");// 体积
|
|
|
$imgae = explode(',',$goods_image);
|
|
|
if(count($imgae)){
|
|
|
- $this->error('图片上传数量上限为5张');
|
|
|
+ return $this->error('图片上传数量上限为5张');
|
|
|
}
|
|
|
- print_r(count($imgae));die;
|
|
|
$data = [
|
|
|
'goods_name' => $goods_name,
|
|
|
'goods_attr_class' => $goods_attr_class,
|