[Update] Define method #5

Merged
trunglt251292 merged 10 commits from v1 into master 2022-03-24 09:49:54 +00:00
1 changed files with 6 additions and 6 deletions
Showing only changes of commit 30bead253d - Show all commits

View File

@ -12,7 +12,7 @@ type RequestBody struct {
// 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"`