浏览代码

yunqi form type main

zz 6 年之前
父节点
当前提交
e7fa3af553
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      app/Http/Middleware/ReadOauth.php

+ 3 - 0
app/Http/Middleware/ReadOauth.php

@@ -761,6 +761,9 @@ class ReadOauth
         if(empty($from_type)){
             return '';
         }
+        if($from_type == 'main'){
+            return '';
+        }
         if($request->has('r') ){
             return '';
         }