add clear

This commit is contained in:
2020-05-22 15:17:24 +08:00
parent 0a3c8ad5c3
commit 9c415292a4
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ class Message extends SmallProgram
$real_path = new \CURLFile(realpath($filePath));
$data = array("media" => $real_path, 'form-data[filename]' => $filePath, 'form-data[content-type]' => $mime);
$data = array("media" => $real_path, 'form-data[filename]' => $filePath, 'form-data[Content-Type]' => $mime);
if ($isPermanent && $mime == 'video/mp3') {
$data = ['media' => $real_path, 'description[title]' => $title, 'description[introduction]' => $introduction];
}