正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -992,8 +992,8 @@ class SecondController extends RestBaseController | @@ -992,8 +992,8 @@ class SecondController extends RestBaseController | ||
992 | $path1=ROOT_PATH.'public/imgs/font.png'; | 992 | $path1=ROOT_PATH.'public/imgs/font.png'; |
993 | $path2=ROOT_PATH.'public'.DS.$info['photo'][1]; | 993 | $path2=ROOT_PATH.'public'.DS.$info['photo'][1]; |
994 | $image1 =\think\Image::open($path1); | 994 | $image1 =\think\Image::open($path1); |
995 | - $image2 =\think\Image::open($path2)-> | ||
996 | - thumb('225',310,\think\Image::THUMB_CENTER)->save(ROOT_PATH.'public/upload/user/'.$userId.'.png'); | 995 | + $image2 =\think\Image::open($path2) |
996 | + ->thumb('225',310,\think\Image::THUMB_CENTER)->save(ROOT_PATH.'public/upload/user/'.$userId.'.png'); | ||
997 | $photo=''; | 997 | $photo=''; |
998 | $photo_local[]=430; | 998 | $photo_local[]=430; |
999 | $photo_local[]=62; | 999 | $photo_local[]=62; |
-
请 注册 或 登录 后发表评论