Browse Source

合并修正

dev_ljk
majun 5 months ago
parent
commit
a2e0ed9d81
  1. 2
      link_homework/internal/logic/client/client.go

2
link_homework/internal/logic/client/client.go

@ -42,7 +42,7 @@ func (s *sClient) ClientGetHomeworkList(ctx context.Context) (homeworkList []Cli
} }
func (s *sClient) GetHomeworkQuestion(ctx context.Context, groupId int) (questions []ClientPage.GetHomeworkQuestionRes, err error) { func (s *sClient) GetHomeworkQuestion(ctx context.Context, groupId int) (questions []ClientPage.GetHomeworkQuestionRes, err error) {
err = dao.ActivityInteractiveForm.Ctx(ctx).Fields("id", "name", "content", "status", "type").
err = dao.ActivityInteractiveForm.Ctx(ctx).Fields("id", "name", "content", "status", "type", "description").
Where("group_id", groupId).Scan(&questions) Where("group_id", groupId).Scan(&questions)
return return
} }

Loading…
Cancel
Save