更新 login.html

master
wangsiyuan 2024-01-18 17:45:23 +08:00
parent a32cdb4c81
commit 5399b6eb75
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@
url: '/login', url: '/login',
type: 'POST', type: 'POST',
contentType: 'application/json', contentType: 'application/json',
data: JSON.stringify({email: email, password: password}), data: JSON.stringify({username: email, password: password}),
success: function(response) { success: function(response) {
// 处理响应 // 处理响应
console.log(response); console.log(response);