This commit is contained in:
xuyue committed 2025-03-04 22:26:58 +08:00
1 parent dce79ef27d
commit 175e4c0d68
7 files changed
+114 -84

No files matched your search

+5
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}`)
}