no message

This commit is contained in:
hellcat 2025-07-02 20:10:21 +08:00
parent b7fd3e1a9a
commit edf92e855a

View File

@ -194,9 +194,9 @@ class Book extends Model
// 默认也rank排序
} else {
if ($sOrder == "no") {
// if ($sOrder == "no") {
$sOrderRank = BookOption::_hit("order_rank");
}
// }
}
@ -205,10 +205,10 @@ class Book extends Model
$sOrderRank = implode(",", array_reverse($aOrderRank));
$oSelf = $oSelf->orderByRaw("FIELD(rank, " . $sOrderRank . ") DESC, (rank IS NULL) ASC");
$oSelf = $oSelf->orderByRaw("fire DESC, (fire IS NULL) ASC");
$oSelf = $oSelf->orderByRaw("fire ASC, (fire IS NULL) ASC");
// $sOrder = "no";
// $sOrderType = "asc";
$sOrder = "no";
$sOrderType = "asc";
$oSelf = $oSelf->orderBy($sOrder, $sOrderType);