正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
| @@ -526,7 +526,9 @@ func UserList(param protocol.RequestUserList) (protocol.ResponseUserList, error) | @@ -526,7 +526,9 @@ func UserList(param protocol.RequestUserList) (protocol.ResponseUserList, error) | ||
| 526 | result []protocol.UserListItem | 526 | result []protocol.UserListItem |
| 527 | pageInfo protocol.ResponsePageInfo | 527 | pageInfo protocol.ResponsePageInfo |
| 528 | err error | 528 | err error |
| 529 | - responseData protocol.ResponseUserList | 529 | + responseData = protocol.ResponseUserList{ |
| 530 | + List: make([]protocol.UserListItem, 0), | ||
| 531 | + } | ||
| 530 | ) | 532 | ) |
| 531 | p := utils.NewQueryDataByPage(countSql+whereString, datasql+whereString) | 533 | p := utils.NewQueryDataByPage(countSql+whereString, datasql+whereString) |
| 532 | p.AddParam(cond...) | 534 | p.AddParam(cond...) |
-
请 注册 或 登录 后发表评论