修复poll_admin_changes返回JSON包含Unicode转义序列

This commit is contained in:
ypsdf1
2026-06-24 21:36:18 +08:00
parent 06854054ca
commit 71777e3013
+1 -1
View File
@@ -1069,7 +1069,7 @@ function handlePollAdminChanges($db, $get) {
$changes[] = $row;
}
echo json_encode(['success' => true, 'changes' => $changes, 'count' => count($changes)]);
echo json_encode(['success' => true, 'changes' => $changes, 'count' => count($changes)], JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
}
function handleAckAdminChanges($db, $post) {