From ca497f8389174bb81e91f840cab70c9579bcdd29 Mon Sep 17 00:00:00 2001
From: 18582019636 <1657978663@qq.com>
Date: 星期二, 25 六月 2024 18:17:01 +0800
Subject: [PATCH] feat: 代码初始化

---
 ruoyi-service/ruoyi-admin/src/main/java/com/ruoyi/admin/controller/RotateController.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-service/ruoyi-admin/src/main/java/com/ruoyi/admin/controller/RotateController.java b/ruoyi-service/ruoyi-admin/src/main/java/com/ruoyi/admin/controller/RotateController.java
index 37113f6..b192505 100644
--- a/ruoyi-service/ruoyi-admin/src/main/java/com/ruoyi/admin/controller/RotateController.java
+++ b/ruoyi-service/ruoyi-admin/src/main/java/com/ruoyi/admin/controller/RotateController.java
@@ -58,7 +58,7 @@
     @GetMapping(value = "/bannerList")
     public R<List<Rotate>> bannerList() {
         return R.ok(rotateService.lambdaQuery().eq(Rotate::getIsDelete, 0)
-                .orderByAsc(Rotate::getOrder).list());
+                .orderByAsc(Rotate::getSort).list());
     }
 
     /**

--
Gitblit v1.7.1