From 092d8fcdb183b72f2433ce83d67adb43d3752521 Mon Sep 17 00:00:00 2001 From: Seven Tsui <16225583+youyouliangshao@user.noreply.gitee.com> Date: Wed, 17 Sep 2025 14:28:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/my/index.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/pages/my/index.dart b/lib/pages/my/index.dart index 290c75b..6a25b00 100644 --- a/lib/pages/my/index.dart +++ b/lib/pages/my/index.dart @@ -266,9 +266,7 @@ class MyPageState extends State with SingleTickerProviderStateMixin { void deletePersonalVideo(videoId) async { logger.i('删除视频${videoId}'); try { - final res = await Http.post('${VideoApi.deleteVideo}', data: { - 'vlogerId':videoId - }); + final res = await Http.post('${VideoApi.deleteVideo}?id=${videoId}', data: {}); logger.i('删除成功响应${res}'); if(res != null && res['code'] == 200){ MyDialog.toast('删除成功', icon: const Icon(Icons.check_circle), style: ToastStyle(backgroundColor: Colors.green.withAlpha(200)));