@@ -11,9 +11,13 @@ type UserTablePayload struct {
|
||||
Context context.Context
|
||||
}
|
||||
|
||||
type UserTableResponse struct {
|
||||
UserTable *[]data.User `json:"user_table"`
|
||||
}
|
||||
|
||||
type UserTableResult struct {
|
||||
Common shared.CommonResult
|
||||
Data *[]data.User `json:"user_table"`
|
||||
Data *UserTableResponse
|
||||
}
|
||||
|
||||
// ListUserFullTable
|
||||
@@ -58,7 +62,7 @@ func (self *UserServiceImpl) GetUserFullTable(payload *UserTablePayload) (result
|
||||
HttpCode: 200,
|
||||
Exception: exception,
|
||||
},
|
||||
Data: userFullTable,
|
||||
Data: &UserTableResponse{userFullTable},
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user