mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改网页授权重定向为301
This commit is contained in:
parent
5b6491f2b5
commit
46a8d967a6
@ -134,7 +134,7 @@ class WechatService
|
|||||||
empty($fansinfo) || FansService::set($fansinfo);
|
empty($fansinfo) || FansService::set($fansinfo);
|
||||||
}
|
}
|
||||||
if (($rcode = $request->get('rcode', false))) {
|
if (($rcode = $request->get('rcode', false))) {
|
||||||
redirect(decode($rcode))->send();
|
redirect(decode($rcode), [], 301)->send();
|
||||||
}
|
}
|
||||||
throw new Exception('网页授权异常,请稍候再试!', '503');
|
throw new Exception('网页授权异常,请稍候再试!', '503');
|
||||||
case 'thr':
|
case 'thr':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user