1、首先開通騰訊云 cos 媒體處理狀態打開
2、文件地址 crmeb/services/upload/storage/Cos.php
方法名:videoCoverImage
修改代碼
修改成以下代碼
$this->fileInfo->$key = $filePath . '?ci-process=snapshot&time=' . $time . '&format=jpg&width=' . $width . '&height=' . $height ;
$data[$v] = $this->fileInfo->$key;
修改完后的代碼