正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -308,6 +308,7 @@ class Car extends Base | @@ -308,6 +308,7 @@ class Car extends Base | ||
| 308 | public function switching_user(){ | 308 | public function switching_user(){ |
| 309 | $res=Db::name("user")->where("id",$this->auth->id)->find(); | 309 | $res=Db::name("user")->where("id",$this->auth->id)->find(); |
| 310 | if($res){ | 310 | if($res){ |
| 311 | + $res['avatar']=full_image($res['avatar']); | ||
| 311 | return $this->success("请求成功",$res); | 312 | return $this->success("请求成功",$res); |
| 312 | }else{ | 313 | }else{ |
| 313 | return $this->error("请求失败"); | 314 | return $this->error("请求失败"); |
-
请 注册 或 登录 后发表评论