@@ -214,6 +214,8 @@ class Books extends Api
// unset($lists[$k]);
}
+ }else{
+ $listss = $lists;
$this->success('操作成功',$listss);
@@ -350,6 +350,8 @@ class User extends Api
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());