使用 Imagick $public_path = ROOT_PATH . ‘public’; $good_img_path = $public_path . $product[‘cover_image’]; if (!file_exists($good_img_path)) { $slide_images = $pr……