瀏覽代碼

yunqi test 5

zz 6 年之前
父節點
當前提交
f19d0ad41d
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      app/Http/Middleware/ReadOauth.php

+ 4 - 1
app/Http/Middleware/ReadOauth.php

@@ -760,12 +760,15 @@ class ReadOauth
         if(empty($from_type)){
         if(empty($from_type)){
             return '';
             return '';
         }
         }
+        if($request->has('r') ){
+            return '';
+        }
         //Log::info('1111111111111111111111111111111');
         //Log::info('1111111111111111111111111111111');
         $param = $request->except('_url');
         $param = $request->except('_url');
         if (isset($param['bid']))  unset($param['bid']);
         if (isset($param['bid']))  unset($param['bid']);
         if(isset($param['bid']))  unset($param['bid']);
         if(isset($param['bid']))  unset($param['bid']);
         unset($param['from_type']);
         unset($param['from_type']);
-        $other_str = 't=1';
+        $other_str = 'r=1';
         if($param){
         if($param){
             $other_str = http_build_query($param);
             $other_str = http_build_query($param);
         }
         }