vali 6 жил өмнө
parent
commit
b27cbcb291

+ 1 - 1
application/index/controller/Register.php

@@ -126,7 +126,7 @@ class Register extends Common
         $appuid = trim(input("post.appuid/s", ''));
         $token = trim(input("post.token/s", ''));
         $nowuid = (empty($appuid)) ? uniqid('anon_') : $appuid;
-        $nowuid = $appid . $nowuid;
+        $nowuid = (empty($appid) ? '' : $appid. '_') . $nowuid;
 
         if (!empty($nowuid) && !empty($token)) {
             $old = Db::name('accounts')->where(['account_name' => $nowuid, 'tokenvip' => $token])->find();