Browse Source

yunqi test 5

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

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

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