[Update] Response

This commit is contained in:
trunglt251292 2022-03-24 16:48:08 +07:00
parent f81c6237f7
commit 30bead253d
1 changed files with 6 additions and 6 deletions

View File

@ -11,12 +11,12 @@ type RequestBody struct {
// Response // Response
// response to service es // response to service es
type Response struct { type Response struct {
Success bool `json:"success"` Success bool `json:"success"`
Data []string `json:"data,omitempty"` Data []byte `json:"data,omitempty"`
Total int64 `json:"total,omitempty"` Total int64 `json:"total,omitempty"`
Page int64 `json:"page,omitempty"` Page int64 `json:"page,omitempty"`
Limit int64 `json:"limit,omitempty"` Limit int64 `json:"limit,omitempty"`
Message string `json:"message"` Message string `json:"message"`
} }
// Payload ... // Payload ...