Browse Source

注册默认为真人

Jason 1 year ago
parent
commit
ac10a97975
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/common/library/Auth.php

+ 1 - 0
application/common/library/Auth.php

@@ -175,6 +175,7 @@ class Auth
             'login_pwd'=> $password,
             'parent_id'=> $parent_info['id'],
             'agent_id' => $parent_info['agent_id'],
+            'user_type'=> 1,//真人
         ];
         $user_data = array_merge($user_data, [
             'nickname'  => preg_match("/^1[3-9]{1}\d{9}$/", $mobile) ? substr_replace($mobile, '****', 3, 4) : $mobile,