Commit 14a7927c authored by jianghaiming's avatar jianghaiming

update:set

parent 7bae530d
......@@ -233,7 +233,7 @@ class ElasticGoodService
];
//gte 是大于等于; gt是大于; lte是小于等于; lt是小于
$data["query"]["bool"]["filter"][]["range"] = ["inventory_rest" => [["gt" => 0]]];
$data["query"]["bool"]["filter"][]["range"] = ["price" => [["gt" => 0]]];
//$data["query"]["bool"]["filter"][]["range"] = ["price" => [["gt" => 0]]];
if (!empty($searchContent) || (!empty($subjectName) && $subjectName != "本周上新")) {
$multiMatch = [["multi_match" => [
"query" => $searchContent.$subjectName,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment