删除视频

This commit is contained in:
kenneth
2023-12-03 20:39:43 +08:00
parent a2b0cd71b3
commit d0499bca57
3 changed files with 33 additions and 1 deletions

View File

@@ -58,8 +58,11 @@
that.attr("disable", true).html('删除中...')
let id = that.attr("data-id")
$.ajax({
url: '/transfer/' + id,
url: '/me/videos/delete',
type: 'post',
contentType: 'application/json',
dataType: 'json',
data:JSON.stringify({"id": id}),
success: function (obj) {
$('#msg').html(obj)
},