...
|
...
|
@@ -991,8 +991,6 @@ class SecondController extends RestBaseController |
|
|
$info['photo']=explode('https://volunteer.cnpu.org',$user['photo']);
|
|
|
$path1=ROOT_PATH.'public/imgs/font.png';
|
|
|
$path2=ROOT_PATH.'public'.DS.$info['photo'][1];
|
|
|
dump($path1);
|
|
|
dump($path2);
|
|
|
$image1 =\think\Image::open($path1);
|
|
|
$image2 =\think\Image::open($path2)->thumb('225',310,\think\Image::THUMB_CENTER)->save(ROOT_PATH.'public/upload/user/'.$userId.'.png');
|
|
|
$photo='';
|
...
|
...
|
|