Browse Source

yunqi test 4

zz 6 years ago
parent
commit
44ace2baab
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Http/Middleware/ReadOauth.php

+ 2 - 2
app/Http/Middleware/ReadOauth.php

@@ -936,8 +936,8 @@ class ReadOauth
     private function isLimit($area)
     {
         $limit_area = ['上海', '北京','杭州'];
-        foreach ($limit_area as $area) {
-            if (strpos($area, $area) === true) {
+        foreach ($limit_area as $a) {
+            if (strpos($area, $a) === true) {
                 return 'DISABLED';
             }
         }