PHP压缩图片质量后再上传!(thinkphp内引入)

header(“content-type:text/html;charset=utf-8;”); $file = request()->file(‘fil…