修改理由:

缺少

相关信息:


此投稿已在 4年前 合并。

内容修改:

红色背景 为原始内容

绿色背景 为新增或者修改的内容

OldNewDifferences
266266   $start = $this->input['start'] ?? null;
267267   $end = $this->input['end'] ?? null;
268268
269    $q->whereHas('goods', function ($q) use ($start) {
 269   $q->whereHas('goods', function ($q) use ($start,$end) {
270270       if ($start !== null) {
271271           $q->where('price', '>=', $start);
272272       }