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;