|
|
|
@ -104,6 +104,7 @@ func (c *CQuestionBank) ExportQuestion(r *ghttp.Request) { |
|
|
|
var req *v1.QuestionOutputReq |
|
|
|
if err := r.Parse(&req); err != nil { |
|
|
|
response.JsonExit(r, 400, err.Error()) |
|
|
|
return |
|
|
|
} |
|
|
|
service.QuestionBank().ExportQuestion(r, ctx, req) |
|
|
|
} |
|
|
|
@ -116,7 +117,6 @@ func (c *CQuestionBank) ExportUserScore(r *ghttp.Request) { |
|
|
|
response.JsonExit(r, 400, err.Error()) |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
// 调用服务层的导出方法
|
|
|
|
service.QuestionBank().ExportUserScore(r, ctx, req) |
|
|
|
} |