no message
This commit is contained in:
parent
27783816f5
commit
5d022e2a51
@ -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. 成功
|
||||
|
||||
Loading…
Reference in New Issue
Block a user