正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
@@ -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 |
-
请 注册 或 登录 后发表评论