mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
更改updateStatus逻辑,导入problem.status
This commit is contained in:
1 parent
4c3284c917
commit
d04628148f
6 files changed
+103
-105
No files matched your search
+15
-13
@@ -19,20 +19,22 @@ exports.udoc = {
|
||||
loginat: new Date(),
|
||||
loginip: '0.0.0.0',
|
||||
};
|
||||
|
||||
exports.pdoc = {
|
||||
_id: new ObjectID(),
|
||||
pid: 'P1000',
|
||||
owner: 0,
|
||||
title: 'No Title',
|
||||
content: 'No Content',
|
||||
nSubmit: 0,
|
||||
nAccept: 0,
|
||||
tag: [],
|
||||
category: [],
|
||||
data: null,
|
||||
hidden: false,
|
||||
};
|
||||
|
||||
/*
|
||||
export interface Pdoc {
|
||||
_id: ObjectID
|
||||
pid: string
|
||||
owner: number
|
||||
title: string
|
||||
content: string
|
||||
nSubmit: number
|
||||
nAccept: number
|
||||
tag: string[]
|
||||
category: string[],
|
||||
data: ObjectID | null
|
||||
hidden: boolean
|
||||
}
|
||||
export interface TestCase {
|
||||
time: number,
|
||||
memory: number,
|
||||
|
||||
Reference in new issue
Block a user