+ +
+
+
- -
- -
- - -
- -- - -
- -- - -
-- - -
-- - -
--
-
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/ai-summary-query.php b/ai-summary-query.php index 72a698c..a5fa3a9 100644 --- a/ai-summary-query.php +++ b/ai-summary-query.php @@ -3,13 +3,10 @@ * AI 内容验证与查询页面 * @package Argon */ - $wp_load_path = dirname(dirname(dirname(dirname(__FILE__)))) . '/wp-load.php'; if (!file_exists($wp_load_path)) $wp_load_path = $_SERVER['DOCUMENT_ROOT'] . '/wp-load.php'; require_once($wp_load_path); -get_header(); - $query_code = isset($_GET['code']) ? sanitize_text_field($_GET['code']) : ''; $result = null; $error = ''; @@ -42,7 +39,6 @@ if (!empty($query_code)) { 'code' => $query_code ]; - // 提供商名称映射 $provider_names = [ 'openai' => 'OpenAI', 'anthropic' => 'Anthropic', @@ -57,7 +53,6 @@ if (!empty($query_code)) { $result['provider_display'] = isset($provider_names[$result['provider']]) ? $provider_names[$result['provider']] : $result['provider']; - // 检查内容是否被修改 $current_hash = md5($post->post_content . $post->post_title); $result['is_modified'] = ($result['summary_hash'] !== $current_hash); } else { @@ -68,365 +63,268 @@ if (!empty($query_code)) { } } } + +get_header(); ?> - -