作者 yangfu

公告修改

@@ -448,7 +448,9 @@ func BulletinFeedbacks(companyId int64, request *protocol.BulletinFeedbacksReque @@ -448,7 +448,9 @@ func BulletinFeedbacks(companyId int64, request *protocol.BulletinFeedbacksReque
448 total int 448 total int
449 answer protocol.Answer 449 answer protocol.Answer
450 ) 450 )
451 - rsp = &protocol.BulletinFeedbacksResponse{} 451 + rsp = &protocol.BulletinFeedbacksResponse{
  452 + List: make([]protocol.FeedBackItem, 0),
  453 + }
452 if total, err = models.GetBulletinQuestionAnswers(request.PageIndex, request.PageSize, request.Id, &feedbacks); err != nil { 454 if total, err = models.GetBulletinQuestionAnswers(request.PageIndex, request.PageSize, request.Id, &feedbacks); err != nil {
453 if err == orm2.ErrNoRows { 455 if err == orm2.ErrNoRows {
454 err = nil 456 err = nil