fix: readme

This commit is contained in:
Skeris 2022-12-14 21:23:27 +03:00
parent e007c02e6d
commit 0b3591e786
2 changed files with 8 additions and 2 deletions

4
.gitignore vendored

@ -22,7 +22,7 @@ dist/
# Maven # Maven
target/ target/
dist/ dist/
svc.tar
# JetBrains IDE # JetBrains IDE
.idea/ .idea/
@ -48,4 +48,4 @@ Thumbs.db
*.mov *.mov
*.wmv *.wmv
heruvym heruvym

@ -135,8 +135,10 @@ POST http://localhost:8000/support/getMessages
"srch":"test", "srch":"test",
"ticket":"c2fekjcobibtq7akknog" "ticket":"c2fekjcobibtq7akknog"
} }
```
Ответ: Ответ:
```
[{ [{
ID string `bson:"_id" json:"id"` ID string `bson:"_id" json:"id"`
TicketID string `bson:"TicketID" json:"ticket_id"` TicketID string `bson:"TicketID" json:"ticket_id"`
@ -199,5 +201,9 @@ POST http://localhost:8000/support/close
{ {
"ticket":"c2fekjcobibtq7akknog" "ticket":"c2fekjcobibtq7akknog"
} }
```
Ответ: null Ответ: null
/support/sendFiles - метод для отправки файлов