dever 6 năm trước cách đây
mục cha
commit
0a4d6cccc2
1 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 5 5
      src/Applet.php

+ 5 - 5
src/Applet.php

@@ -112,11 +112,11 @@ class Applet extends Base
       
         if ($user['mobile']) {
             $result['mobile'] = $user['mobile'];
-        }
-
-        if (function_exists('checkVersion')) {
-            if (checkVersion()->mobile == 2) {
-                $result['mobile'] = '101010';
+        } else {
+            if (function_exists('checkVersion')) {
+                if (checkVersion()->mobile == 2) {
+                    $result['mobile'] = '101010';
+                }
             }
         }