...
|
...
|
@@ -308,6 +308,7 @@ class Car extends Base |
|
|
public function switching_user(){
|
|
|
$res=Db::name("user")->where("id",$this->auth->id)->find();
|
|
|
if($res){
|
|
|
$res['avatar']=full_image($res['avatar']);
|
|
|
return $this->success("请求成功",$res);
|
|
|
}else{
|
|
|
return $this->error("请求失败");
|
...
|
...
|
|