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 - метод для отправки файлов +