tongshanglei 2 년 전
부모
커밋
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;