solupro 5 years ago
parent
commit
07c75aba92
1 changed files with 1 additions and 0 deletions
  1. 1 0
      protected/models/User.php

+ 1 - 0
protected/models/User.php

@@ -123,6 +123,7 @@ class User extends Singleton {
             } else {
                 // 添加用户信息
                 $data['first_type'] = $type;
+                $data['first_account'] = $account;
                 $data['nick_name'] = $name ?: self::getNewName($account);
                 $data['user_name'] = $data['nick_name'] . '-' . strtoupper($type);
                 $objUserInfo->addObject($data);