自动生成流程图
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
2026-01-05 10:22:57 +08:00
parent c3f818e738
commit 9d1896125e
5 changed files with 32 additions and 12 deletions

View File

@@ -68,6 +68,10 @@ export function toggleProblemVisible(problemID: number) {
return http.put("admin/problem/visible", { id: problemID })
}
export function generateFlowchartFromPythonCode(python: string) {
return http.post("admin/problem/flowchart", { python })
}
export function editContestProblem(problem: AdminProblem | BlankProblem) {
return http.put("admin/contest/problem", problem)
}