Browse Source

记账记录

afa 5 tháng trước cách đây
mục cha
commit
318192dc88
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/api/controller/MoneyLog.php

+ 1 - 1
app/api/controller/MoneyLog.php

@@ -23,7 +23,7 @@ class MoneyLog extends Base
                               ->with('users')
                               ->where('status', MonuyModel::STATUS_NORMAL)
                               ->whereMonth('create_date', $time)
-                              ->order('id desc')
+                              ->order('create_date desc')
                               ->paginate(10);
             $this->success('ok', $result);
       }