v2.0.1更新
This commit is contained in:
@@ -95,7 +95,10 @@ if (isset($_SESSION['user_id']) && isset($_SESSION['user_type'])) {
|
||||
try {
|
||||
const sessionResponse = await fetch('/api/save_session.php', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'Authorization': 'Bearer ' + userData.token
|
||||
},
|
||||
body: JSON.stringify({
|
||||
user_id: userData.user_id,
|
||||
user_type: userData.user_type,
|
||||
|
||||
Reference in New Issue
Block a user