no message

This commit is contained in:
hellcat 2026-07-28 20:39:18 +08:00
parent 27783816f5
commit 5d022e2a51

View File

@ -72,7 +72,7 @@ private function findValidUrlBySubKey($sSubKey, $iNum, $oFlow)
// 3. 检查文件
if (!Storage::disk('upload_images')->exists($sFileName)) {
// 报警
TeleSlave::warn()->enableSlaveQueue(false)->enableAsync(false)->send("findValidUrl:图片文件不存在:{$sFileName}");
TeleSlave::warn()->enableSlaveQueue(false)->enableAsync(false)->send("findValidUrlBySubKey:图片文件不存在:{$sFileName}");
// 💡 这里的出口判定最重要!
// 如果尝试次数已经超过了最大限制,或者已经把库里所有的记录都扫了一遍还没找到
@ -81,7 +81,7 @@ private function findValidUrlBySubKey($sSubKey, $iNum, $oFlow)
}
// 递归iNum 必须一直往上涨,不能回头!
return $this->findValidUrl($sSubKey, $iNum + 1, $oFlow);
return $this->findValidUrlBySubKey($sSubKey, $iNum + 1, $oFlow);
}
// 4. 成功