소스 검색

注册默认为真人

Jason 1 년 전
부모
커밋
ac10a97975
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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,