...
|
...
|
@@ -133,6 +133,8 @@ class Auth |
|
|
*/
|
|
|
public function register($username, $password, $email = '', $mobile = '', $extend = [])
|
|
|
{
|
|
|
print_r(123123);return;
|
|
|
|
|
|
// 检测用户名、昵称、邮箱、手机号是否存在
|
|
|
if (User::getByUsername($username)) {
|
|
|
$this->setError('Username already exist');
|
...
|
...
|
|