作者 唐旭辉

bug 修复

@@ -523,11 +523,11 @@ func UserList(param protocol.RequestUserList) (protocol.ResponseUserList, error) @@ -523,11 +523,11 @@ func UserList(param protocol.RequestUserList) (protocol.ResponseUserList, error)
523 cond = append(cond, likeCond) 523 cond = append(cond, likeCond)
524 } 524 }
525 var ( 525 var (
526 - result []protocol.UserListItem 526 + result = make([]protocol.UserListItem, 0)
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), 530 + List: result,
531 } 531 }
532 ) 532 )
533 p := utils.NewQueryDataByPage(countSql+whereString, datasql+whereString) 533 p := utils.NewQueryDataByPage(countSql+whereString, datasql+whereString)