-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Add user
filed to get problem set grades API
#142
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
user
filed to get problem set grades API
base/utils/problem_set.go
Outdated
emptyDetail, err := json.Marshal(detail) // 将map转换为JSON格式 | ||
if err != nil { | ||
// 如果转换失败,记录错误并返回 | ||
log.Errorf("Error marshalling grade detail for empty grade: %v", err) | ||
return errors.Wrap(err, "could not marshal grade detail for empty grade") | ||
} | ||
|
||
// 打印转换后的JSON日志 | ||
log.Errorf("Empty detail JSON: %s", emptyDetail) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please write comments in English
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I have read the CLA Document and I hereby sign the CLA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
实现#132 的
Class管理员,查询该Class中某一ProblemSet的全部用户成绩 需求。
继承#133pr的代码写的。