正常情况下通过 Auth 门面获取已验证的用户:
Auth::user();
获取通过自定义 guard 验证的用户则需要指定 guard 名称,如 partner :
Auth::guard('partner')->user();
(adsbygoogle = window.adsbygoogle || []).push({});
来源:https://www.02405.com/archives/2434
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_7585.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57