feat: 支持文本、图表、思维导图下载上传

This commit is contained in:
kuaifan
2022-02-22 12:14:13 +08:00
parent dd013aaaa3
commit ff14cbc752
11 changed files with 261 additions and 31 deletions

View File

@@ -271,7 +271,7 @@ class DialogController extends AbstractController
//
$dialog = WebSocketDialog::checkDialog($dialog_id);
//
$path = "uploads/chat/" . $user->userid . "/";
$path = "uploads/chat/" . date("Ym") . "/" . $dialog_id . "/";
$image64 = Base::getPostValue('image64');
$fileName = Base::getPostValue('filename');
if ($image64) {