no message

This commit is contained in:
hellcat committed 2026-08-18 16:51:15 +08:00
1 parent c946a580da
commit de091a0a0a
3 files changed
+91 -1

No files matched your search

@@ -49,7 +49,7 @@ private function findValidUrlBySubKey($sSubKey, $iNum, $oFlow)
$iTotal = $oQuery->count();
if ($iTotal === 0) throw new \Exception("subkey:{$sSubKey} 旗下无任何记录");
if ($iTotal === 0) throw new \Exception("ArticleKeyAuthorMap的{$sSubKey} 旗下无任何记录");
// 1. 计算当前查库的偏移量,用 % 取模是最稳的,或者用 if 但不要改 iNum 本身
$iOffset = ($iNum - 1) % $iTotal;