商店连接状态码优化

feat/task1-c-wallet
Devil 2021-07-28 11:55:24 +08:00
parent 8115bcf2b3
commit 067179f12d
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ class StoreService
$code = GetHttpCode(self::StoreUrl(), 2);
MyCache($key, $code, $time);
}
if($code != 200)
if(!in_array($code, [200, 301, 302, 307, 308]))
{
return DataReturn('商店网络不通', 0);
}