|
@@ -350,6 +350,8 @@ class User extends Api
|
|
}
|
|
}
|
|
|
|
|
|
public function getUserinfo(){
|
|
public function getUserinfo(){
|
|
|
|
+ $userinfo = $this->auth->getUserinfo();
|
|
|
|
+ $userinfo['phone_r'] = preg_match("/^1[3-9]{1}\d{9}$/", $username) ? substr_replace($username, '****', 3, 4);
|
|
return json($this->auth->getUserinfo());
|
|
return json($this->auth->getUserinfo());
|
|
}
|
|
}
|
|
}
|
|
}
|