更新 login.html
parent
a32cdb4c81
commit
5399b6eb75
|
|
@ -135,7 +135,7 @@
|
|||
url: '/login',
|
||||
type: 'POST',
|
||||
contentType: 'application/json',
|
||||
data: JSON.stringify({email: email, password: password}),
|
||||
data: JSON.stringify({username: email, password: password}),
|
||||
success: function(response) {
|
||||
// 处理响应
|
||||
console.log(response);
|
||||
|
|
|
|||
Reference in New Issue