调整订单
This commit is contained in:
@@ -30,14 +30,14 @@ class IndexController extends Controller
|
||||
$centers = Banner::query()->ofPosition(Banner::POSITION_INDEX_CENTER)->get();
|
||||
|
||||
|
||||
$show_goods_id = app('Conf_mall')['show_goods_id'] ?? 0;
|
||||
$show_goods_id = app('Conf_mall')['show_score_goods_id'] ?? 0;
|
||||
$show_goods = '';
|
||||
if ($show_goods_id > 0) {
|
||||
$show_goods = Goods::find($show_goods_id);
|
||||
}
|
||||
|
||||
$goods = Goods::query()
|
||||
->where('id', '<>', $show_goods_id)
|
||||
// ->where('id', '<>', $show_goods_id)
|
||||
->shown()
|
||||
->where('channel', Goods::CHANNEL_SCORE)
|
||||
->get();
|
||||
|
||||
Reference in New Issue
Block a user