|
@@ -149,6 +149,10 @@ class Product extends Base
|
|
$image = input('image','');
|
|
$image = input('image','');
|
|
if(!empty($image)){
|
|
if(!empty($image)){
|
|
$keyword = $this->search_by_image($image);
|
|
$keyword = $this->search_by_image($image);
|
|
|
|
+ //dump($keyword);
|
|
|
|
+ if(empty($keyword)){
|
|
|
|
+ $this->success('', []);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
$productModel = new productModel();
|
|
$productModel = new productModel();
|