This commit is contained in:
2025-03-04 22:26:58 +08:00
parent dce79ef27d
commit 175e4c0d68
7 changed files with 114 additions and 84 deletions

View File

@@ -73,6 +73,11 @@ export class Tutorial {
return res.data
}
static async togglePublic(display: number) {
const res = await http.put(`/tutorial/public/${display}`)
return res.data
}
static async remove(display: number) {
await http.delete(`/tutorial/${display}`)
}