...
|
...
|
@@ -409,10 +409,14 @@ class PersonController extends RestBaseController |
|
|
$host = config('site.host');
|
|
|
if(isset($info['avatar']) && !empty($info['avatar'])){
|
|
|
$info['avatar'] = $host.$info['avatar'];
|
|
|
}else{
|
|
|
$info['avatar'] = '';
|
|
|
}
|
|
|
if(isset($info['images']) && !empty($info['images'])){
|
|
|
$images = explode(',',$info['images']);
|
|
|
$info['images'] = $this->getAbsolutionUrl($images);
|
|
|
}else{
|
|
|
$info['images'] = '';
|
|
|
}
|
|
|
|
|
|
$this->success('成功',$info);
|
...
|
...
|
@@ -810,10 +814,14 @@ class PersonController extends RestBaseController |
|
|
$host = config('site.host');
|
|
|
if(isset($info['avatar']) && !empty($info['avatar'])){
|
|
|
$info['avatar'] = $host.$info['avatar'];
|
|
|
}else{
|
|
|
$info['avatar'] = '';
|
|
|
}
|
|
|
if(isset($info['images']) && !empty($info['images'])){
|
|
|
$images = explode(',',$info['images']);
|
|
|
$info['images'] = $this->getAbsolutionUrl($images);
|
|
|
}else{
|
|
|
$info['images'] = '';
|
|
|
}
|
|
|
|
|
|
$this->success('成功',$info);
|
...
|
...
|
|