dever 6 years ago
parent
commit
ed98842ca5
1 changed files with 5 additions and 5 deletions
  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'];
-        } else {
-            if (function_exists('checkVersion')) {
-                if (checkVersion()->mobile == 2) {
-                    $result['mobile'] = '101010';
-                }
+        }
+
+        if (function_exists('checkVersion')) {
+            if (checkVersion()->mobile == 2) {
+                $result['mobile'] = '101010';
             }
         }