|
|
@ -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) { |
|
|
|
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) |
|
|
|
return |
|
|
|
} |
|
|
|