rkljw 2 days ago
parent
commit
c1dfedebc0
3 changed files with 2 additions and 2 deletions
  1. 1 1
      app/JsonRpc/NewsService.php
  2. 0 0
      runtime/container/scan.cache
  3. 1 1
      runtime/hyperf.pid

+ 1 - 1
app/JsonRpc/NewsService.php

@@ -5515,7 +5515,7 @@ class NewsService implements NewsServiceInterface
                         $q->whereRaw("DATE_FORMAT(showtime, '%m') = ?", [$month])
                           ->whereRaw("DATE_FORMAT(showtime, '%d') >= ?", [$day]);
                     });
-                })->orderByRaw("DATE_FORMAT(showtime, '%m') ASC, DATE_FORMAT(year, '%d') ASC, year ASC");
+                })->orderByRaw("DATE_FORMAT(showtime, '%m') ASC, DATE_FORMAT(showtime, '%d') ASC, showtime ASC");
                 $total = $query->count();
                 $result = $query->select("title", "id","updated_at", "showtime", DB::raw('2 as type'))
                     ->offset(($page - 1) * $pageSize)

File diff suppressed because it is too large
+ 0 - 0
runtime/container/scan.cache


+ 1 - 1
runtime/hyperf.pid

@@ -1 +1 @@
-28414
+61331

Some files were not shown because too many files changed in this diff