diff --git a/templates/detail_new.html b/templates/detail_new.html index 31cd23a..c401c85 100644 --- a/templates/detail_new.html +++ b/templates/detail_new.html @@ -1036,6 +1036,7 @@ function loadNewsWithCaptcha(siteCode, captcha) { // 调用新闻获取API fetch(`/api/fetch-news/${siteCode}`, { method: 'POST', + credentials: 'same-origin', // 确保发送session cookie headers: { 'Content-Type': 'application/json' },