tongshanglei лет назад: 2
Родитель
Сommit
ca08fd1894
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      catch/device/model/Station.php

+ 1 - 1
catch/device/model/Station.php

@@ -47,7 +47,7 @@ class Station extends Model
         $res = $this->dataRange()
             ->catchSearch()
             ->append(['is_online'])
-            ->order($this->aliasField('shortcode'), 'desc')
+            ->order($this->aliasField('online_time'), 'desc')
             ->paginate();
             
         return $res;