Parcourir la source

同步im资料

lizhen_gitee il y a 5 jours
Parent
commit
8991df8390
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      application/api/controller/User.php

+ 1 - 1
application/api/controller/User.php

@@ -265,7 +265,7 @@ class User extends Api
 
 
         //设置头像和昵称
         //设置头像和昵称
         $tenim = new Tenim();
         $tenim = new Tenim();
-        $tenim->useredit(''.$user_id,$nickname,localpath_to_netpath($avatar));
+        $tenim->useredit(''.$this->auth->id,$nickname,localpath_to_netpath($avatar));
 
 
         $this->success('修改成功');
         $this->success('修改成功');
     }
     }