mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-05 12:22:35 +02:00
Add database query status (and improved response), photos, likes, comments, bans
This commit is contained in:
parent
519ae22197
commit
abbd5bc494
22 changed files with 1118 additions and 72 deletions
|
@ -8,3 +8,15 @@ type UIDName struct {
|
|||
UID string `json:"user_id"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
type GenericResponse struct {
|
||||
Status string `json:"status"`
|
||||
}
|
||||
|
||||
type Comment struct {
|
||||
CommentID string `json:"comment_id"`
|
||||
UID string `json:"user_id"`
|
||||
Name string `json:"name"`
|
||||
Comment string `json:"comment"`
|
||||
Date string `json:"date"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue