From c89487f7f8a7f4885f869ed2946c42ef004bbefb Mon Sep 17 00:00:00 2001 From: Hjj <126586545@qq.com> Date: Sat, 28 Jun 2025 00:30:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=B0=E7=94=9F=E5=90=8D?= =?UTF-8?q?=E5=8D=95=E7=AE=A1=E7=90=86=E6=9C=80=E6=96=B0=E7=9A=84=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=8E=92=E5=89=8D=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Admin/Controllers/UserFollowRecordController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Admin/Controllers/UserFollowRecordController.php b/app/Admin/Controllers/UserFollowRecordController.php index ee10ce3..47cfc49 100644 --- a/app/Admin/Controllers/UserFollowRecordController.php +++ b/app/Admin/Controllers/UserFollowRecordController.php @@ -29,7 +29,7 @@ class UserFollowRecordController extends AdminController protected function grid(): Grid { return Grid::make(new UsersMember(), function (Grid $grid) { - $grid->model()->with(['followRecordHasOne']); + $grid->model()->with(['followRecordHasOne'])->orderByDesc('id'); $showInfo = AdminFollowShow::query()->where(['user_id' => Admin::user()['id']])->first(); $followList = UserFollowStatus::query()->pluck('name', 'id')->toArray();