From ffb600c3349fe2d0985e6e3c2fa749a18da6ef02 Mon Sep 17 00:00:00 2001
From: "iyuu.cn" <367013672@qq.com>
Date: Mon, 18 May 2020 12:51:28 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B8=8A=E6=8A=A5=E9=94=99?=
 =?UTF-8?q?=E8=AF=AF=E7=A7=8D=E5=AD=90403=E7=8A=B6=E6=80=81=E7=A0=81?=
 =?UTF-8?q?=EF=BC=8C=E4=BE=8B=E5=A6=82=EF=BC=9A=E5=85=BC=E5=AE=B9=E6=9D=9C?=
 =?UTF-8?q?=E6=AF=94=E7=AD=89=E7=AB=99=E5=B7=B2=E5=88=A0=E9=99=A4=E7=A7=8D?=
 =?UTF-8?q?=E5=AD=90=E8=BF=94=E5=9B=9E403=E7=8A=B6=E6=80=81=E7=A0=81?=
 =?UTF-8?q?=E7=9A=84=E6=83=85=E5=86=B5=E3=80=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/AutoReseed.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app/AutoReseed.php b/app/AutoReseed.php
index bfe190c..40321f9 100644
--- a/app/AutoReseed.php
+++ b/app/AutoReseed.php
@@ -218,6 +218,8 @@ class AutoReseed
                         $errmsg = isset($result['result']) ? $result['result'] : '未知错误,请稍后重试!';
                         if (strpos($errmsg, 'http error 404: Not Found') !== false) {
                             self::sendNotify('404');
+                        } else if (strpos($errmsg, 'http error 403: Forbidden')  !== false) {
+                            self::sendNotify('403');
                         }
                         print "-----RPC添加种子任务,失败 [{$errmsg}]" . PHP_EOL.PHP_EOL;
                     }