import gorilla/handlers
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
let that = $(this)
|
||||
that.attr("disable", true).html('转码中...')
|
||||
let id = that.attr("data-id")
|
||||
let csrfToken = $('input[name="gorilla.csrf.Token"]').val()
|
||||
let csrfToken = $('input[name="csrf_token"]').val()
|
||||
$.ajax({
|
||||
url: '/transfer/' + id,
|
||||
type: 'post',
|
||||
@@ -66,7 +66,7 @@
|
||||
let that = $(this)
|
||||
that.attr("disable", true).html('删除中...')
|
||||
let id = that.attr("data-id")
|
||||
let csrfToken = $('input[name="gorilla.csrf.Token"]').val()
|
||||
let csrfToken = $('input[name="csrf_token"]').val()
|
||||
$.ajax({
|
||||
url: '/me/videos/delete',
|
||||
type: 'post',
|
||||
|
||||
Reference in New Issue
Block a user