{"id":3685,"date":"2025-06-12T03:01:41","date_gmt":"2025-06-11T19:01:41","guid":{"rendered":"https:\/\/www.zhaozhao123.cn\/wpcms\/wpdt\/3685.html"},"modified":"2025-06-12T03:01:41","modified_gmt":"2025-06-11T19:01:41","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8wordpress%e4%b8%ad%e9%99%90%e5%88%b6%e5%bf%83%e8%b7%b3api%ef%bc%88%e5%88%9d%e5%ad%a6%e8%80%85%e7%ae%80%e5%8d%95%e6%8c%87%e5%8d%97%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.zhaozhao123.cn\/wpcms\/post\/3685.html","title":{"rendered":"\u5982\u4f55\u5728WordPress\u4e2d\u9650\u5236\u5fc3\u8df3API\uff08\u521d\u5b66\u8005\u7b80\u5355\u6307\u5357\uff09"},"content":{"rendered":"<div class=\"wp-block-columns p-0 border is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<div class=\"wp-block-columns px-4 py-3 border-bottom has-background is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\" style=\"background:linear-gradient(243deg,rgb(238,238,238) 0%,rgba(58,166,242,0.15) 100%)\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-6c531013 wp-block-group-is-layout-flex\">\r\n<figure class=\"wp-block-image size-thumbnail is-resized is-style-rounded is-style-rounded--1\"><img decoding=\"async\" src=\"https:\/\/www.zhaozhao123.cn\/myitems\/images\/sites16\/2025\/06\/dyA-1-400x300.jpg\" alt=\"Bug&#32534;&#35793;&#29422;\" class=\"wp-image-1842\" style=\"object-fit:cover;width:30px;height:30px\"><\/figure>\r\n\r\n\r\n\r\n<p class=\"my-0\">Bug&#32534;&#35793;&#29422;<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n\r\n\r\n\r\n<div class=\"wp-block-columns px-xl-5 px-4 py-xl-4 py-3 is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<p>&#22312;WordPress&#20013;&#38480;&#21046;&#24515;&#36339;API&#21487;&#20197;&#24110;&#21161;&#20445;&#25252;&#32593;&#31449;&#20813;&#21463;&#24694;&#24847;&#29228;&#34411;&#30340;&#25915;&#20987;&#65292;&#24182;&#38450;&#27490;&#19981;&#24517;&#35201;&#30340;&#27969;&#37327;&#28040;&#32791;&#12290;&#20197;&#19979;&#26159;&#19968;&#20123;&#22522;&#26412;&#27493;&#39588;&#21644;&#31034;&#20363;&#20195;&#30721;&#65292;&#24110;&#21161;&#24744;&#22312;WordPress&#20013;&#21551;&#29992;&#24515;&#36339;API&#38480;&#21046;&#12290;<\/p>\n<h3>&#27493;&#39588; 1: &#35774;&#32622;WordPress&#31105;&#29992;&#24515;&#36339;&#21151;&#33021;<\/h3>\n<p>&#39318;&#20808;&#65292;&#22312;&#24744;&#30340;WordPress&#23433;&#35013;&#30446;&#24405;&#19979;&#30340; <code>wp-config.php<\/code> &#25991;&#20214;&#20013;&#28155;&#21152;&#22914;&#19979;&#34892;&#65306;<\/p>\n<pre><code class=\"language-php\">define('WP_HIG', false);<\/code><\/pre>\n<p>&#25110;&#32773;&#65292;&#22914;&#26524;&#24744;&#30340;&#26381;&#21153;&#22120;&#25903;&#25345;PHP&#37197;&#32622;&#25991;&#20214;&#65292;&#35831;&#32534;&#36753;&#35813;&#25991;&#20214;&#24182;&#28155;&#21152;&#19978;&#36848;&#23450;&#20041;&#21040; <code>wp-config.php<\/code> &#25991;&#20214;&#20013;&#30340; <code>define('WP_HIG', true);<\/code> &#21069;&#38754;&#12290;<\/p>\n<h3>&#27493;&#39588; 2: &#21019;&#24314;&#33258;&#23450;&#20041;&#25554;&#20214;&#25110;&#20351;&#29992;&#29616;&#26377;&#25554;&#20214;<\/h3>\n<p>&#20026;&#20102;&#26356;&#31934;&#32454;&#22320;&#25511;&#21046;&#24515;&#36339;API&#30340;&#38480;&#21046;&#65292;&#24744;&#21487;&#20197;&#21019;&#24314;&#19968;&#20010;&#26032;&#30340;&#33258;&#23450;&#20041;&#25554;&#20214;&#65292;&#25110;&#32773;&#21033;&#29992;&#29616;&#26377;&#30340;WordPress&#25554;&#20214;&#22914;&ldquo;Rate Limiting for WordPress&rdquo;&#12290;<\/p>\n<h4>&#31034;&#20363;&#65306;&#21019;&#24314;&#33258;&#23450;&#20041;&#25554;&#20214;<\/h4>\n<ol>\n<li>\n<p><strong>&#21019;&#24314;&#26032;&#25991;&#20214;&#22841;<\/strong>&#65306;\n&#22312;&#24744;&#30340;WordPress&#25554;&#20214;&#30446;&#24405;&#19979;&#21019;&#24314;&#19968;&#20010;&#21517;&#20026; <code>heartbeat_limits<\/code> &#30340;&#25991;&#20214;&#22841;&#12290;<\/p>\n<\/li>\n<li>\n<p><strong>&#21019;&#24314;&#25554;&#20214;&#20027;&#25991;&#20214;<\/strong>&#65306;\n&#22312;&#27492;&#25991;&#20214;&#22841;&#20013;&#21019;&#24314;&#19968;&#20010;&#21517;&#20026; <code>heartbeat_limits.php<\/code> &#30340;&#25991;&#20214;&#12290;<\/p>\n<\/li>\n<li>\n<p><strong>&#32534;&#20889;&#25554;&#20214;&#20195;&#30721;<\/strong>&#65306;\n&#25554;&#20214;&#20195;&#30721;&#24212;&#22914;&#19979;&#25152;&#31034;&#65306;<\/p>\n<pre><code class=\"language-php\">&lt;?php\n\/*\nPlugin Name: Heartbeat Limits\nDescription: A plugin to limit the number of requests sent via the heartbeat API.\nVersion: 1.0\nAuthor: YourName\n*\/\n\n\/\/ Define constants\ndefine( 'HIT_LIMIT', 5 ); \/\/ Maximum allowed hits per hour\ndefine( 'HOUR', time() );\n\n\/\/ Initialize variables\n$hits = 0;\n\nfunction check_heartbeat_limit() {\n   global $hits;\n   if ( HOUR &gt; time() ) return; \/\/ Only update after an hour has passed\n\n   $current_hits = get_option( 'hit_counter' );\n   if ( isset($current_hits) &amp;&amp; !empty($current_hits) ) {\n       $hits += intval($current_hits);\n   }\n\n   $hits++;\n\n   if ($hits &gt;= HIT_LIMIT) {\n       wp_die(\"You have reached your daily hit limit. Please try again tomorrow.\");\n   }\n}\n\nadd_action( 'init', 'check_heartbeat_limit' );<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>&#27880;&#20876;&#21160;&#20316;<\/strong>&#65306;\n&#20351;&#29992; <code>add_action<\/code> &#20989;&#25968;&#26469;&#35302;&#21457; <code>check_heartbeat_limit<\/code> &#21160;&#20316;&#65292;&#30830;&#20445;&#24515;&#36339;&#26816;&#27979;&#22312;WordPress&#21021;&#22987;&#21270;&#26102;&#25191;&#34892;&#12290;<\/p>\n<\/li>\n<li>\n<p><strong>&#20445;&#23384;&#25554;&#20214;<\/strong>&#65306;\n&#23558; <code>heartbeat_limits.php<\/code> &#25991;&#20214;&#19978;&#20256;&#21040;&#24744;&#30340;WordPress&#25554;&#20214;&#30446;&#24405;&#65292;&#24182;&#28608;&#27963;&#25554;&#20214;&#20197;&#24212;&#29992;&#26356;&#25913;&#12290;<\/p>\n<\/li>\n<\/ol>\n<h3>&#27493;&#39588; 3: &#27979;&#35797;&#25554;&#20214;&#35774;&#32622;<\/h3>\n<p>&#25171;&#24320;&#24744;&#30340;WordPress&#31649;&#29702;&#38754;&#26495;&#65292;&#23548;&#33322;&#21040;&ldquo;&#25554;&#20214;&rdquo;&#37096;&#20998;&#65292;&#25214;&#21040;&#21018;&#21018;&#21019;&#24314;&#30340;&ldquo;Heartbeat Limits&rdquo;&#65292;&#28982;&#21518;&#28857;&#20987;&ldquo;&#28608;&#27963;&rdquo;&#12290;&#29616;&#22312;&#65292;&#24403;&#29992;&#25143;&#23581;&#35797;&#36890;&#36807;&#24515;&#36339;API&#35775;&#38382;&#24744;&#30340;&#31449;&#28857;&#26102;&#65292;&#31995;&#32479;&#20250;&#26816;&#26597;&#26159;&#21542;&#24050;&#36798;&#21040;&#27599;&#26085;&#38480;&#21046;&#12290;<\/p>\n<h3>&#25928;&#26524;&#39564;&#35777;<\/h3>\n<ul>\n<li>&#22914;&#26524;&#24744;&#30340;&#32593;&#31449;&#24050;&#32463;&#35774;&#32622;&#20102;&#24515;&#36339;API&#38480;&#21046;&#65292;&#24403;&#29992;&#25143;&#23581;&#35797;&#35775;&#38382;&#24744;&#30340;&#32593;&#31449;&#26102;&#65292;&#20182;&#20204;&#21487;&#33021;&#20250;&#30475;&#21040;&#19968;&#26465;&#28040;&#24687;&#65306;&ldquo;You have reached your daily hit limit. Please try again tomorrow.&rdquo;<\/li>\n<li>&#22914;&#26524;&#27809;&#26377;&#35774;&#32622;&#38480;&#21046;&#65292;&#31995;&#32479;&#23558;&#20801;&#35768;&#25152;&#26377;&#35831;&#27714;&#36890;&#36807;&#12290;<\/li>\n<\/ul>\n<p>&#36825;&#20010;&#31616;&#21333;&#30340;&#20363;&#23376;&#23637;&#31034;&#20102;&#22914;&#20309;&#22312;WordPress&#20013;&#23454;&#29616;&#24515;&#36339;API&#30340;&#38480;&#21046;&#65292;&#20174;&#32780;&#20445;&#25252;&#24744;&#30340;&#32593;&#31449;&#20813;&#21463;&#24694;&#24847;&#27969;&#37327;&#30340;&#24433;&#21709;&#12290;&#26681;&#25454;&#24744;&#30340;&#38656;&#27714;&#65292;&#21487;&#20197;&#36827;&#19968;&#27493;&#35843;&#25972;&#20195;&#30721;&#20197;&#28385;&#36275;&#29305;&#23450;&#30340;&#23433;&#20840;&#35201;&#27714;&#12290;<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div><div class=\"wp-block-columns p-0 border is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<div class=\"wp-block-columns px-4 py-3 border-bottom has-background is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\" style=\"background:linear-gradient(243deg,rgb(238,238,238) 0%,rgba(58,166,242,0.15) 100%)\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<div class=\"wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-6c531013 wp-block-group-is-layout-flex\">\r\n<figure class=\"wp-block-image size-thumbnail is-resized is-style-rounded is-style-rounded--2\"><img decoding=\"async\" src=\"https:\/\/www.zhaozhao123.cn\/myitems\/images\/sites16\/2025\/06\/zp-400x300.jpg\" alt=\"&#40657;&#26495;&#21069;&#30340;Bug&#35821;&#27861;&#35762;&#24072;\" class=\"wp-image-1849\" style=\"object-fit:cover;width:30px;height:30px\"><\/figure>\r\n\r\n\r\n\r\n<p class=\"my-0\">&#40657;&#26495;&#21069;&#30340;Bug&#35821;&#27861;&#35762;&#24072;<\/p>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n\r\n\r\n\r\n<div class=\"wp-block-columns px-xl-5 px-4 py-xl-4 py-3 is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\r\n<p>&#22312;WordPress&#20013;&#38480;&#21046;&#24515;&#36339;API&#65288;&#20063;&#31216;&#20026;&ldquo;&#29992;&#25143;&#27963;&#36291;&#24230;&rdquo;&#25110;&ldquo;&#29992;&#25143;&#27963;&#21160;&rdquo;&#65289;&#65292;&#21487;&#20197;&#25552;&#39640;&#32593;&#31449;&#30340;&#23433;&#20840;&#24615;&#24182;&#38450;&#27490;&#24694;&#24847;&#25915;&#20987;&#32773;&#28389;&#29992;&#24744;&#30340;&#31449;&#28857;&#12290;&#36825;&#21487;&#20197;&#36890;&#36807;&#35774;&#32622;&#19968;&#20010;&#31616;&#21333;&#30340;&#38408;&#20540;&#26469;&#23454;&#29616;&#65292;&#20363;&#22914;&#27599;&#38548;&#19968;&#27573;&#26102;&#38388;&#26816;&#26597;&#29992;&#25143;&#30340;&#22312;&#32447;&#29366;&#24577;&#12290;<\/p>\n<p>&#20197;&#19979;&#26159;&#22312;WordPress&#20013;&#23454;&#29616;&#36825;&#20010;&#21151;&#33021;&#30340;&#22522;&#26412;&#27493;&#39588;&#65306;<\/p>\n<ol>\n<li>&#39318;&#20808;&#65292;&#30830;&#20445;&#24744;&#24050;&#32463;&#23433;&#35013;&#20102;WordPress&#21644;WordPress&#20027;&#39064;&#12290;<\/li>\n<li>&#22312;&#24744;&#30340;&#20027;&#39064;&#25991;&#20214;&#22841;&#20013;&#25214;&#21040;<code>functions.php<\/code>&#25991;&#20214;&#12290;<\/li>\n<li>&#25171;&#24320;<code>functions.php<\/code>&#25991;&#20214;&#65292;&#26597;&#25214;<code>add_action()<\/code>&#20989;&#25968;&#12290;<\/li>\n<li>&#28155;&#21152;&#20197;&#19979;&#20195;&#30721;&#21040;<code>functions.php<\/code>&#25991;&#20214;&#65306;\n<pre><code class=\"language-php\">function heartbeat_api_check() {\n$last_activity_time = get_option('wp_last_activity');\nif ($last_activity_time) {\n    $now = time();\n    $time_difference = $now - $last_activity_time;\n    if ($time_difference &lt; 60) { \/\/ &#19968;&#20998;&#38047;&#20869;&#27809;&#26377;&#27963;&#21160;\n        update_option('wp_last_activity', $now);\n    }\n} else {\n    update_option('wp_last_activity', $now);\n}\n}\nadd_action('heartbeat_api_check', 'heartbeat_api_check');<\/code><\/pre><\/li>\n<li>&#36816;&#34892;&#20197;&#19979;&#21629;&#20196;&#20197;&#28608;&#27963;&#27492;&#26032;&#21151;&#33021;&#65306;<code>wp dashboard \/ theme options \/ functions.php \/ heartbeat_api_check<\/code><\/li>\n<li>&#29616;&#22312;&#65292;&#22312;&#27599;&#27425;&#29992;&#25143;&#35775;&#38382;&#24744;&#30340;&#32593;&#31449;&#26102;&#65292;&#37117;&#20250;&#26816;&#26597;&#20182;&#20204;&#26159;&#21542;&#22312;&#36807;&#21435;&#30340;&#19968;&#20998;&#38047;&#20869;&#27809;&#26377;&#27963;&#21160;&#12290;&#22914;&#26524;&#36229;&#36807;&#19968;&#20998;&#38047;&#65292;&#21017;&#20250;&#35760;&#24405;&#26368;&#21518;&#19968;&#27425;&#27963;&#21160;&#26102;&#38388;&#65292;&#24182;&#19988;&#19979;&#27425;&#29992;&#25143;&#35775;&#38382;&#26102;&#65292;&#35813;&#26102;&#38388;&#23558;&#34987;&#29992;&#20110;&#27604;&#36739;&#12290;<\/li>\n<\/ol>\n<p>&#20197;&#19979;&#26159;&#20351;&#29992;PHP&#12289;MySQL&#21644;WordPress&#30340;&#31034;&#20363;&#20195;&#30721;&#65306;<\/p>\n<h3>&#31034;&#20363;&#19968;&#65306;&#20351;&#29992;PHP&#12289;MySQL&#21644;WordPress<\/h3>\n<p>&#39318;&#20808;&#65292;&#21019;&#24314;&#19968;&#20010;&#26032;&#30340;PHP&#25991;&#20214;&#65292;&#22914;<code>heartbeat_api_check.php<\/code>&#65306;<\/p>\n<pre><code class=\"language-php\">&lt;?php\nrequire_once __DIR__ . '\/functions.php';\n\n$last_activity_time = get_option('wp_last_activity');\n\nif (!isset($last_activity_time)) {\n    $last_activity_time = time();\n}\n\n$time_difference = time() - $last_activity_time;\n\nif ($time_difference &lt; 60) {\n    update_option('wp_last_activity', time());\n} else {\n    update_option('wp_last_activity', $last_activity_time);\n}\n?&gt;<\/code><\/pre>\n<p>&#28982;&#21518;&#65292;&#23558;&#27492;&#25991;&#20214;&#28155;&#21152;&#21040;&#24744;&#30340;WordPress&#20027;&#39064;&#30340;<code>functions.php<\/code>&#25991;&#20214;&#20013;&#65306;<\/p>\n<pre><code class=\"language-php\">add_action('heartbeat_api_check', 'heartbeat_api_check');<\/code><\/pre>\n<p>&#26368;&#21518;&#65292;&#36816;&#34892;&#20197;&#19979;&#21629;&#20196;&#28608;&#27963;&#27492;&#26032;&#21151;&#33021;&#65306;<\/p>\n<pre><code class=\"language-bash\">wp dashboard \/ theme options \/ functions.php \/ heartbeat_api_check<\/code><\/pre>\n<h3>&#31034;&#20363;&#20108;&#65306;&#20351;&#29992;JavaScript&#21644;jQuery<\/h3>\n<p>&#23545;&#20110;&#26356;&#31616;&#27905;&#30340;&#35299;&#20915;&#26041;&#26696;&#65292;&#24744;&#21487;&#20197;&#32771;&#34385;&#20351;&#29992;JavaScript&#21644;jQuery&#12290;&#35831;&#35760;&#20303;&#65292;&#34429;&#28982;&#36825;&#31181;&#26041;&#24335;&#21487;&#33021;&#19981;&#26159;&#26368;&#20339;&#23454;&#36341;&#65292;&#20294;&#36825;&#26159;&#23454;&#29616;&#30456;&#21516;&#21151;&#33021;&#30340;&#19968;&#31181;&#26041;&#27861;&#12290;<\/p>\n<ol>\n<li>&#21019;&#24314;&#19968;&#20010;&#21517;&#20026;<code>heartbeats.js<\/code>&#30340;&#26032;&#25991;&#20214;&#12290;<\/li>\n<li>&#22312;<code>heartbeats.js<\/code>&#25991;&#20214;&#20013;&#32534;&#20889;&#20197;&#19979;JavaScript&#20195;&#30721;&#65306;\n<pre><code class=\"language-javascript\">\nvar lastHeartbeatTime = null;<\/code><\/pre><\/li>\n<\/ol>\n<p>$(document).ready(function() {\nsetInterval(function() {\n$.ajax({\nurl: &#8216;<a href=\"https:\/\/www.zhaozhao123.cn\/skin\/go?url=aHR0cDovL3lvdXJ3ZWJzaXRlLmNvbS93cC1qc29uL2hlYXJ0YmVhdC1hcGkvY2hlY2s=\" rel=\"noopener noreferrer nofollow\">http:\/\/yourwebsite.com\/wp-json\/heartbeat-api\/check<\/a>&#8216;,\nmethod: &#8216;GET&#8217;,\nsuccess: function(response) {\nvar now = new Date().getTime();\nif (response &amp;&amp; response.lastActivity &gt; 0 &amp;&amp; now &#8211; response.lastActivity &lt; 60 * 1000) {\nlastHeartbeatTime = response.lastActivity;\nconsole.log(&#8220;Last heartbeat was within the minute limit&#8221;);\n} else {\nlastHeartbeatTime = now;\nconsole.log(&#8220;No activity detected, updating last heartbeat.&#8221;);\n}<\/p>\n<pre><code>            saveHeartbeat(lastHeartbeatTime);\n        },\n        error: function(xhr, status, err) {\n            console.error(err);\n        }\n    });\n}, 60 * 1000); \/\/ Check every minute<\/code><\/pre>\n<p>});<\/p>\n<p>function saveHeartbeat(heartbeat) {\n$.post(&#8216;\/wp-admin\/admin-ajax.php?action=save_heartbeat&amp;heartbeat=&#8217; + heartbeat, {}, function(response) {\nconsole.log(&#8220;Heartbeat saved successfully:&#8221;, response);\n}).fail(function(xhr, status, err) {\nconsole.error(&#8220;Error saving heartbeat:&#8221;, xhr.responseText);\n});\n}<\/p>\n<pre><code>\n3. &#23558;&#19978;&#36848;JavaScript&#20195;&#30721;&#22797;&#21046;&#21040;`heartbeats.js`&#25991;&#20214;&#20013;&#12290;\n4. &#21551;&#21160;`heartbeats.js`&#25991;&#20214;&#65292;&#23427;&#23558;&#22312;&#21518;&#21488;&#27599;&#20998;&#38047;&#26816;&#26597;&#19968;&#27425;&#29992;&#25143;&#27963;&#21160;&#12290;\n5. &#24744;&#38656;&#35201;&#26367;&#25442;`http:\/\/yourwebsite.com\/wp-json\/heartbeat-api\/check`&#20026;&#23454;&#38469;&#30340;API URL&#12290;\n\n&#35831;&#27880;&#24847;&#65292;&#36825;&#31181;&#26041;&#27861;&#20165;&#36866;&#29992;&#20110;&#36731;&#37327;&#32423;&#30340;API&#35831;&#27714;&#12290;&#23545;&#20110;&#26356;&#22797;&#26434;&#30340;&#38656;&#27714;&#65292;&#35831;&#32771;&#34385;&#20351;&#29992;&#19987;&#19994;&#30340;&#23433;&#20840;&#25514;&#26045;&#65292;&#20363;&#22914;&#20351;&#29992;HTTPS&#21152;&#23494;&#36890;&#20449;&#12290;<\/code><\/pre>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Bug&#32534;&#35793;&#29422; &#22312;WordPress&#20013;&#38480;&#21046;&#24515;&#36339;API&#21487;&#20197;&#24110;&#21161;&#20445;&#25252;&#32593;&#31449;&#20813;..<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[2107,2106],"tuisongtax":[],"class_list":["post-3685","post","type-post","status-publish","format-standard","hentry","category-wpdt","tag-cjyy","tag-cjzn"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/posts\/3685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/comments?post=3685"}],"version-history":[{"count":0,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/posts\/3685\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/media?parent=3685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/categories?post=3685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/tags?post=3685"},{"taxonomy":"tuisongtax","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/wpcms\/wp-json\/wp\/v2\/tuisongtax?post=3685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}