From 0b3591e786a03b0cae351297e45c1d23ee124eda Mon Sep 17 00:00:00 2001 From: Skeris Date: Wed, 14 Dec 2022 21:23:27 +0300 Subject: [PATCH] fix: readme --- .gitignore | 4 ++-- README.md | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e02886d..c335163 100644 --- a/.gitignore +++ b/.gitignore @@ -22,7 +22,7 @@ dist/ # Maven target/ dist/ - +svc.tar # JetBrains IDE .idea/ @@ -48,4 +48,4 @@ Thumbs.db *.mov *.wmv -heruvym \ No newline at end of file +heruvym diff --git a/README.md b/README.md index 1bc1c53..dde5977 100644 --- a/README.md +++ b/README.md @@ -135,8 +135,10 @@ POST http://localhost:8000/support/getMessages "srch":"test", "ticket":"c2fekjcobibtq7akknog" } +``` Ответ: +``` [{ ID string `bson:"_id" json:"id"` TicketID string `bson:"TicketID" json:"ticket_id"` @@ -199,5 +201,9 @@ POST http://localhost:8000/support/close { "ticket":"c2fekjcobibtq7akknog" } +``` Ответ: null + +/support/sendFiles - метод для отправки файлов +