feat: support player

This commit is contained in:
yanghao05
2025-04-25 14:38:55 +08:00
parent 11bea6b8c9
commit 75865ae19a
7 changed files with 151 additions and 12 deletions

View File

@@ -10,6 +10,10 @@ export const postApi = {
}
});
},
play(id) {
return client.get(`/api/posts/${id}/play`);
},
show(id) {
return client.get(`/api/posts/${id}`);
},