提交 067179f1 编写于 作者: D Devil

商店连接状态码优化

上级 8115bcf2
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册