refactor axios.

This commit is contained in:
2023-01-08 15:07:32 +08:00
parent e306e6b463
commit a3456595a5
4 changed files with 12 additions and 11 deletions

View File

@@ -49,3 +49,10 @@ export interface Problem {
contest: null
my_status: number
}
export interface SubmitCodePayload {
problem_id: number
language: LANGUAGE
code: string
contest_id?: number
}