|
|
@@ -220,7 +220,7 @@ class Home extends BaseService
|
|
|
->order(Db::raw('count(a.order_id) desc, a.user_id desc'))
|
|
|
->select(false);
|
|
|
|
|
|
- $list = SpecialityBook::table($query.' a')->limit($limit)->select();
|
|
|
+ $list = Db::table($query.' a')->limit($limit)->select();
|
|
|
$list = $list? $list->toArray() : [];
|
|
|
|
|
|
if($list){
|