lvhao 2 дней назад
Родитель
Сommit
3af7d43959
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      core/CoreApp/controllers/Whlabel.php

+ 1 - 1
core/CoreApp/controllers/Whlabel.php

@@ -2535,7 +2535,7 @@ class Whlabel extends Start_Controller
 				$where  .= " and link like '%" . $url['url'] . "%'";
 			}
 			if($productid){
-				$where  .= " extra_price IS NOT NULL and JSON_SEARCH(extra_price, 'one', '".$productid."', NULL, '$[*].product_id') IS NOT NULL";
+				$where  .= " and extra_price IS NOT NULL and JSON_SEARCH(extra_price, 'one', '".$productid."', NULL, '$[*].product_id') IS NOT NULL";
 			}
 			//数据排序
 			$order_str = "librarytime desc";