mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
core: contest team (#1183)
This commit is contained in:
1 parent
238b1263bf
commit
78e898fdfc
22 files changed
+934
-96
No files matched your search
@@ -73,7 +73,7 @@ Language ${SettingModel.langs[lang].display} (${lang})
|
||||
await Promise.all([
|
||||
ProblemModel.inc(domainId, this.pdoc.docId, 'nSubmit', 1),
|
||||
DomainModel.incUserInDomain(domainId, this.user._id, 'nSubmit'),
|
||||
ContestModel.updateStatus(domainId, this.tdoc.docId, this.user._id, rid, this.pdoc.docId),
|
||||
ContestModel.updateStatus(domainId, this.tdoc.docId, this.team ?? this.user._id, rid, this.pdoc.docId),
|
||||
]);
|
||||
return { rid };
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user