打开 DujiaoBoot.php 文件
/app/Http/Middleware/DujiaoBoot.php
注释
/*/ 浏览器检测
$userAgent = $request->header('user-agent');
$nowUri = site_url() . $request->path();
$tplPath = 'common/notencent';
if (
strpos($userAgent, 'QQ/')
||
strpos($userAgent, 'MicroMessenger') !== false
) {
return response()->view($tplPath, ['nowUri' => $nowUri]);
}*/
评论 (0)