Browse Source

取消banner排序使用默认Scope

(cherry picked from commit 24cfded362)
master
Mike 6 years ago
committed by weigang
parent
commit
73d5715a96
  1. 1
      app/Service/v3/Implementations/BannerService.php

1
app/Service/v3/Implementations/BannerService.php

@ -12,7 +12,6 @@ class BannerService implements BannerServiceInterface
return Banner::query() return Banner::query()
->where(['type' => $type]) ->where(['type' => $type])
->whereJsonContains('market_ids', [(string)$marketId]) ->whereJsonContains('market_ids', [(string)$marketId])
->orderBy('sort','desc')
->get()->toArray(); ->get()->toArray();
} }
} }
Loading…
Cancel
Save