We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
feild
Run
UpdateOrInitCause
base/utils
ProblemID
TestCaseID
Hash
Count
FirstOrInit
修改GetSubmission
GetCause GET /api/problem/:problem_id/cause/:id
mark_causes
Cause
CauseForAdmin
GetCauses GET /api/problem/:problem_id/causes
GetAllCauses GET /api/causes
UpdateCause PUT /api/problem/:problem_id/cause/:id
Marked
cause
:problem_id/:cause_id.out
Description
Point
DeleteCause DELETE /api/problem/:problem_id/cause/:id
Message
SUCCESS
Data
The text was updated successfully, but these errors were encountered:
Reference: https://gorm.io/zh_CN/docs/create.html#Upsert-%E5%8F%8A%E5%86%B2%E7%AA%81
Sorry, something went wrong.
suntt2019
Successfully merging a pull request may close this issue.
Cause
Permission
Models
Resources
feild
是否合理Event
Run
完成时触发)添加ListenerUpdateOrInitCause
base/utils
包中:检测是否有相同ProblemID
,TestCaseID
,Hash
的CauseCount
++,实现上使用锁(因为需要读取Count
再写入,FirstOrInit
似乎无法完成)API
修改GetSubmission
GetCause GET /api/problem/:problem_id/cause/:id
mark_causes
权限Cause
的CauseForAdmin
GetCauses GET /api/problem/:problem_id/causes
mark_causes
权限CauseForAdmin
的切片GetAllCauses GET /api/causes
mark_causes
权限CauseForAdmin
的切片UpdateCause PUT /api/problem/:problem_id/cause/:id
Marked
为falseMarked
改为truecause
的:problem_id/:cause_id.out
mark_causes
权限Description
、Point
Cause
的CauseForAdmin
DeleteCause DELETE /api/problem/:problem_id/cause/:id
mark_causes
权限Message
为SUCCESS
,Data
为空The text was updated successfully, but these errors were encountered: