{"id":156,"date":"2019-07-01T00:49:00","date_gmt":"2013-11-01T00:49:00","guid":{"rendered":"http:\/\/pro369.com\/sale\/?p=156"},"modified":"2019-07-01T00:49:00","modified_gmt":"2013-11-01T00:49:00","slug":"%e4%bb%8b%e7%b4%b9php%e8%88%87ajax%e7%9a%84%e6%87%89%e7%94%a8%ef%bc%9axajax%e5%9f%ba%e6%9c%ac%ef%bc%88%e8%b3%bc%e7%89%a9%e7%b6%b2%e7%ab%99%e5%bb%b6%e4%bc%b8%e6%95%99%e5%ad%b8%ef%bc%89","status":"publish","type":"post","link":"https:\/\/por.tw\/sale\/%e4%bb%8b%e7%b4%b9php%e8%88%87ajax%e7%9a%84%e6%87%89%e7%94%a8%ef%bc%9axajax%e5%9f%ba%e6%9c%ac%ef%bc%88%e8%b3%bc%e7%89%a9%e7%b6%b2%e7%ab%99%e5%bb%b6%e4%bc%b8%e6%95%99%e5%ad%b8%ef%bc%89\/","title":{"rendered":"\u4ecb\u7d39php\u8207ajax\u7684\u61c9\u7528\uff1axajax\u57fa\u672c\uff08\u8cfc\u7269\u7db2\u7ad9\u5ef6\u4f38\u6559\u5b78\uff09"},"content":{"rendered":"<p><strong><span style=\"font-size: small\"><span style=\"font-size: small\"><span style=\"color: #ff00ff\">\u4ecb\u7d39php\u8207ajax\u7684\u61c9\u7528\uff1axajax\u57fa\u672c\uff08\u8cfc\u7269\u7db2\u7ad9\u5ef6\u4f38\u6559\u5b78\uff09<\/span><br \/><\/span><\/span><\/strong><span style=\"font-size: x-small\"><span style=\"font-size: small\">xajax \u662f\u4e00\u500b\u958b\u6e90\u7684 PHP \u985e\u5eab\uff0c\u7528\u4f86\u69cb\u5efaWEB\u4e0a\u7684Ajax \u7a0b\u5f0f\uff0c\u5b83\u672c\u8eab\u662f\u4e00\u500b\u4ee5Server\u70ba\u4e3b\u7684Ajax\u51fd\u793a\u5eab\uff0c\u4e5f\u5c31\u662f\u8aaa\u5f88\u591a\u7684\u5546\u696d\u908f\u8f2f\u5c07\u6703\u653e\u5728Server Side\u7684php\u7a0b\u5f0f\u88e1\u3002\u4f7f\u7528xajax\u958b\u767c\u7684\u61c9\u7528\u8edf\u9ad4\uff0c\u7121\u9700\u91cd\u65b0\u8abf\u5165\u9801\u9762\uff0c\u5c31\u80fd\u5920\u975e\u540c\u6b65\u8abf\u7528\u4f3a\u670d\u5668\u7aef\u7684PHP\u51fd\u6578\u548c\u66f4\u65b0\u5167\u5bb9\u3002<\/p>\n<p>\u3000\u3000 xajax \u6700\u5927\u7684\u7279\u8272\u662f\u652f\u63f4 UTF-8 \u53ca Smarty\uff0cclient \u7aef\u4e0d\u7528\u81ea\u5df1\u5beb callback\uff0cclient \u7aef\u9001\u51fa\u904b\u7b97\u8acb\u6c42\u7d66 Server \u7aef\u5f8c\uff0cServer \u7aef\u53ef\u4ee5\u76f4\u63a5\u628a\u904b\u7b97\u7d50\u679c\u50b3\u9001\u5230\u7db2\u9801\u5143\u7d20\u4e0a\u3002\u81f3\u65bc Smarty \u652f\u63f4\u7684\u90e8\u4efd\uff0c\u56e0\u70ba Client \u7aef\u53ea\u9700\u4e00\u884c $xajax-&gt;printJavascript(); \u5c31\u53ef\u4ee5\u7522\u751f AJAX \u6240\u9700\u7684 Javascript\uff0c\u6240\u4ee5\u61c9\u8a72\u5927\u90e8\u4efd\u7684 Template engine \u4e5f\u90fd\u652f\u63f4\u3002<\/p>\n<p><strong><span style=\"font-size: small; color: #ff00ff\">\u5982\u4f55\u5b89\u88ddxajax<\/span><\/strong><br \/>xajax\u5b89\u88dd\u74b0\u5883\uff1a<\/p>\n<p><\/span><\/span> <\/p>\n<ul>\n<li><span style=\"font-size: x-small\"><span style=\"font-size: small\">Apache Web\u4f3a\u670d\u5668\u6216Windows XP\/2003\u4e0a\u7684IIS\u4f3a\u670d\u5668<\/span><\/span><\/li>\n<p><\/p>\n<li><span style=\"font-size: x-small\"><span style=\"font-size: small\">PHP 4.3.x\u6216PHP 5.x<\/span><\/span><\/li>\n<p><\/p>\n<li><span style=\"font-size: x-small\"><span style=\"font-size: small\">\u6d41\u89bd\u5668\u6700\u4f4e\u8981\u6c42\uff1aIE5.5\uff0cFirefox 1.0\uff0c\u6216\u76f8\u7576\u7684\u57fa\u65bcGecko\u5167\u6838\u7684\u6d41\u89bd\u5668\uff0cSafari 1.3\uff0cOpera 8.5\u3002\u8001\u7248\u672c\u50c5\u5c0dGET\u65b9\u6cd5\u6709\u6548\u3002<\/span><\/span><\/li>\n<p><\/ul>\n<p><span style=\"font-size: x-small\"><span style=\"font-size: small\"><strong><span style=\"color: #ff00ff\">\u5b89\u88dd\u65b9\u5f0f\uff1a<br \/><\/span><\/strong>xajax \u7248\u672c\u767c\u4f48<\/p>\n<p><\/span><\/span> <\/p>\n<ul>\n<li><span style=\"font-size: x-small\"><span style=\"font-size: small\">xajax 0.2 = \u7a69\u5b9a\u7248 (\u7576\u524d\u7248\u672c\u865f 0.2.5)<\/span><\/span><\/li>\n<p><\/p>\n<li><span style=\"font-size: x-small\"><span style=\"font-size: small\">xajax 0.5 = \u6e2c\u8a66\u7248 (\u7576\u524d\u7248\u672c\u865f 0.5 beta 2)<\/span><\/span><\/li>\n<p><\/ul>\n<p><span style=\"font-size: x-small\"><span style=\"font-size: small\">\u3000\u3000[ <\/span><\/span><a href=\"https:\/\/sourceforge.net\/project\/showfiles.php?group_id=139736&amp;package_id=153267&amp;release_id=508650\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"font-size: x-small\"><span style=\"font-size: small\">\u6309\u6b64\u4e0b\u8f09xajax0.2.5<\/span><\/span><\/a><span style=\"font-size: x-small\"><span style=\"font-size: small\"> ]\u5c07\u5957\u88dd\u8edf\u9ad4\u89e3\u58d3\u4e26\u5c07\u5176\u62f7\u8c9d\u81f3\u4f60\u7684WEB\u7ad9\u9ede\u76ee\u9304\u4e0b\u3002\u5982\u679c\u4f60\u9858\u610f\uff0c\u4f60\u53ef\u4ee5\u5728\u4f60\u7684WEB\u4f3a\u670d\u5668\u4e0b\u5efa\u7acb\u4e00\u500b\u540d\u7a31\u70ba&ldquo;xajax&rdquo;\u7684\u76ee\u9304\uff0c\u4e26\u5c07\u6240\u6709\u6a94\u653e\u9032\u53bb\uff08\u78ba\u4fe1\u4f60\u8981\u77e5\u9053\u9801\u9762\u7684\u76f8\u5c0dURL\u4f4d\u5740\uff0c\u4f60\u624d\u80fd\u5920\u63d0\u4f9b\u6b63\u78ba\u7684xaja\u7684\u5b89\u88ddURL\u5730\u5740\uff09\u3002\u6ce8\u610f\u5982\u679c\u60f3\u8b93\u5e38\u5f0f\u751f\u6548\uff0c\u4f60\u5fc5\u9808\u5c07&quot;examples&quot;\u76ee\u9304\u4e0b\u7684&quot;thewall&quot;\u76ee\u9304\u8a2d\u70ba\u53ef\u5beb\u3002<\/p>\n<p><strong><span style=\"color: #ff00ff\">xajax\u4f7f\u7528\u7bc4\u4f8b<\/span><\/strong><\/p>\n<p><\/span><\/span> <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"10\" width=\"100%\" style=\"font-size: 13px; color: #006699; line-height: 30px\" bgcolor=\"#ccffff\">\n<tr>\n<td><span style=\"font-size: x-small\"><span style=\"font-size: small\">&lt;?php<br \/>require_once( &#39;xajax\/xajax.inc.php&#39; ); \/\/\u5f15\u5165xajax\u51fd\u5f0f<\/p>\n<p>\/\/\u5efa\u7acbxajax\u7269\u4ef6<br \/>$xajax=new xajax();<\/p>\n<p>\/\/\u4ee5\u4e0b\u6c7a\u5b9a\u662f\u5426\u8981\u4f7f\u7528 xajax debug<br \/>\/\/$xajax-&gt;debugOn(); \/\/ Uncomment this line to turn debugging on<\/p>\n<p>\/\/\u8a3b\u518a\u5728php\u4e2d\u6240\u8981\u547c\u53eb\u7684\u51fd\u5f0f<br \/>$xajax-&gt;registerFunction(&quot;myFunction&quot;);<\/p>\n<p>\/\/\u8655\u7406\u547c\u53eb<br \/>$xajax-&gt;processRequests();<br \/>?&gt;<\/p>\n<p>&lt;!DOCTYPE HTML PUBLIC &quot;-\/\/W3C\/\/DTD HTML 4.01 Transitional\/\/EN&quot;<br \/>&quot;http:\/\/www.w3.org\/TR\/html4\/loose.dtd&quot;&gt;<br \/>&lt;html&gt;<br \/>&lt;head&gt;<br \/>&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text\/html; charset=utf-8&quot;&gt;<br \/>&lt;title&gt;xajax\u7bc4\u4f8b&lt;\/title&gt;<\/p>\n<p>&lt;!&#8211;\u7522\u751fxajax\u521d\u59cb\u5316\u6240\u9700\u7684\u4ee3\u78bc&#8211;&gt;<br \/>&lt;?php $xajax-&gt;printJavascript(&#39;xajax\/&#39;); ?&gt;<\/p>\n<p>&lt;\/head&gt;<\/p>\n<p>&lt;body&gt;<br \/>&lt;form id=&quot;form1&quot; action=&quot;javascript:void(null);&quot;&gt;<br \/>\u8acb\u8f38\u5165\u4f60\u7684\u5927\u540d:&lt;input type=&quot;text&quot; name=&quot;username&quot;&gt;<\/p>\n<p>&lt;!&#8211;\u7528\u4f86\u89f8\u767cxajax\u4e8b\u4ef6\u7684button&#8211;&gt;<br \/>&lt;input type=&quot;button&quot; name=&quot;submit&quot; value=&quot;\u9001\u51fa&quot; onClick=&quot;xajax_myFunction(xajax.getFormValues(&#39;form1&#39;));&quot;&gt;<\/p>\n<p>&lt;\/form&gt;<\/p>\n<p>&lt;!&#8211;\u986f\u793a\u56de\u50b3\u7d50\u679c\u7684div&#8211;&gt;<br \/>&lt;div id=&quot;outputDiv&quot;&gt;&lt;\/div&gt;<\/p>\n<p>&lt;\/body&gt;<br \/>&lt;\/html&gt;<\/p>\n<p>&lt;?php<br \/>function myFunction($aFormValues)<br \/>{<br \/>\/\/\u5275\u5efa\u4e00\u500bxajaxResponse\u7269\u4ef6<br \/>$objResponse = new xajaxResponse();<\/p>\n<p>\/\/\u63a5\u6536\u8868\u55aepost\u7684\u8cc7\u6599<br \/>$username = $aFormValues[&#39;username&#39;];<\/p>\n<p>if (trim($username) == &quot;&quot;)<br \/>{<br \/>\/\/\u7522\u751f\u932f\u8aa4\u8a0a\u606f\u7684alert<br \/>$objResponse-&gt;addAlert(&quot;\u540d\u5b57\u5c1a\u672a\u8f38\u5165!&quot;);<\/p>\n<p>\/\/\u56de\u50b3xajaxResponse\u7269\u4ef6<br \/>return $objResponse;<\/p>\n<p>}<br \/>else<br \/>{<br \/>\/\/\u8a2d\u5b9aid\u70ba&quot;outputDiv&quot;\u7684div\u5143\u7d20\u7684innerHTML\u5c6c\u6027\u70ba&quot;xxx\uff0c\u4f60\u597d!!&quot;<br \/>$objResponse-&gt;addAssign(&quot;outputDiv&quot;,&quot;innerHTML&quot;,$username.&#39;\uff0c\u4f60\u597d!!&#39;);<\/p>\n<p>\/\/\u56de\u50b3xajaxResponse\u7269\u4ef6<br \/>return $objResponse;<\/p>\n<p>}<br \/>}<br \/>?&gt;<br \/><\/span><\/span><\/td>\n<\/tr>\n<\/table>\n<p> <span style=\"font-size: x-small\"><span style=\"font-size: small\"><strong><span style=\"color: #ff00ff\">\u8a73\u7d30\u8aaa\u660e\uff1a<\/span><\/strong><\/p>\n<p><\/span><\/span> <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"10\" width=\"100%\" style=\"font-size: 13px; color: #006699; line-height: 30px\" bgcolor=\"#ccffff\">\n<tr>\n<td><span style=\"font-size: x-small\"><span style=\"font-size: small\">&lt;?php<br \/>require_once( &#39;xajax\/xajax.inc.php&#39; ); \/\/\u5f15\u5165xajax\u51fd\u5f0f<\/p>\n<p>\/\/\u5efa\u7acbxajax\u7269\u4ef6<br \/>$xajax=new xajax();<\/p>\n<p>\/\/\u4ee5\u4e0b\u6c7a\u5b9a\u662f\u5426\u8981\u4f7f\u7528 xajax debug<br \/>\/\/$xajax-&gt;debugOn(); \/\/ Uncomment this line to turn debugging on<\/p>\n<p>\/\/\u8a3b\u518a\u5728php\u4e2d\u6240\u8981\u547c\u53eb\u7684\u51fd\u5f0f<br \/>$xajax-&gt;registerFunction(&quot;<span style=\"color: #ff0000\">myFunction<\/span>&quot;);<\/p>\n<p>\/\/\u8655\u7406\u547c\u53eb<br \/>$xajax-&gt;processRequests();<br \/>?&gt;<br \/><\/span><\/span><\/td>\n<\/tr>\n<\/table>\n<p> <span style=\"font-size: x-small\"><span style=\"font-size: small\"><strong><span style=\"color: #ff00ff\">\u521d\u59cb\u5316xajax\u51fd\u5f0f\uff0c\u6ce8\u610f\u7d05\u5b57\u90e8\u5206\u70ba\u6240\u8981\u547c\u53eb\u7684function\u540d\u7a31\u3002<\/span><\/strong><\/p>\n<p><\/span><\/span> <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"10\" width=\"100%\" style=\"font-size: 13px; color: #006699; line-height: 30px\" bgcolor=\"#ccffff\">\n<tr>\n<td><span style=\"font-size: x-small\"><span style=\"font-size: small\">&lt;?php $xajax-&gt;printJavascript(&#39;xajax\/&#39;); ?&gt;<br \/><\/span><\/span><\/td>\n<\/tr>\n<\/table>\n<p> <span style=\"font-size: x-small\"><span style=\"font-size: small\"><strong><span style=\"color: #ff00ff\">\u5728\u4f60\u7684HTML\u7684&lt;head&gt;&lt;\/head&gt; \u6a19\u7c64\u4e4b\u9593\u52a0\u5165\u6b64php\u8a9e\u6cd5\u4ee5\u7522\u751fxajax\u521d\u59cb\u5316\u6240\u9700\u7684\u4ee3\u78bc\u3002<br \/><\/span><\/strong><\/p>\n<p><\/span><\/span> <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"10\" width=\"100%\" style=\"font-size: 13px; color: #006699; line-height: 30px\" bgcolor=\"#ccffff\">\n<tr>\n<td><span style=\"font-size: x-small\"><span style=\"font-size: small\">&lt;form id=&quot;form1&quot; action=&quot;javascript:void(null);&quot;&gt;<br \/>\u8acb\u8f38\u5165\u4f60\u7684\u5927\u540d:&lt;input type=&quot;text&quot; name=&quot;username&quot;&gt;<\/p>\n<p>&lt;!&#8211;\u7528\u4f86\u89f8\u767cxajax\u4e8b\u4ef6\u7684button&#8211;&gt;<br \/>&lt;input type=&quot;button&quot; name=&quot;submit&quot; value=&quot;\u9001\u51fa&quot; onClick=&quot;<span style=\"color: #ff0000\">xajax_myFunction(xajax.getFormValues(&#39;form1&#39;));<\/span>&quot;&gt;<\/p>\n<p>&lt;\/form&gt;<\/p>\n<p>&lt;!&#8211;\u986f\u793a\u56de\u50b3\u7d50\u679c\u7684div&#8211;&gt;<br \/>&lt;div id=&quot;outputDiv&quot;&gt;&lt;\/div&gt;<br \/><\/span><\/span><\/td>\n<\/tr>\n<p> <\/ta\nble> <span style=\"font-siz\ne:\n x-small\"><span style=\"font-size: small\"><strong><span style=\"color: #ff00ff\">\u7528\u4f86\u50b3\u503c\u7684\u8868\u55ae\uff0c\u6ce8\u610f\u7d05\u5b57\u7684\u90e8\u5206\u70ba\u89f8\u767cxajax\u7684\u65b9\u6cd5\u3002<\/span><\/strong><\/p>\n<p><\/span><\/span> <\/p>\n<ul><\/p>\n<li><span style=\"font-size: x-small\"><span style=\"font-size: small\">xajax_xxx()\uff1axxx\u7684\u90e8\u5206\u70ba\u4e4b\u524d\u547c\u53eb\u7684function\u540d\u7a31\uff0c\u5982xajax_myFunction\u3002<\/span><\/span><\/li>\n<p><\/p>\n<li><span style=\"font-size: x-small\"><span style=\"font-size: small\">xajax.getFormValues(&#39;xxx&#39;)\uff1axajax\u53ef\u5229\u7528\u6b64\u65b9\u6cd5\u53d6\u5f97\u8868\u55ae\u6240\u50b3\u9001\u7684\u8cc7\u6599\uff0cxxx\u7684\u90e8\u5206\u70ba\u8868\u55ae\u540d\u7a31\uff0c\u5982xajax.getFormValues(&#39;form1&#39;)\u3002<\/span><\/span><\/li>\n<p><\/p>\n<li><span style=\"font-size: x-small\"><span style=\"font-size: small\">&lt;div id=&quot;outputDiv&quot;&gt;&lt;\/div&gt;\uff1a\u7528\u4f86\u986f\u793a\u56de\u50b3\u8a0a\u606f\u7684div\u3002<\/span><\/span><\/li>\n<p><\/ul>\n<p> <\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"10\" width=\"100%\" style=\"font-size: 13px; color: #006699; line-height: 30px\" bgcolor=\"#ccffff\">\n<tr>\n<td><span style=\"font-size: x-small\"><span style=\"font-size: small\">&lt;?php<br \/>function <span style=\"color: #ff0000\">myFunction<\/span>($aFormValues)<br \/>{<br \/>\/\/\u5275\u5efa\u4e00\u500bxajaxResponse\u7269\u4ef6<br \/>$objResponse = new xajaxResponse();<\/p>\n<p>\/\/\u63a5\u6536\u8868\u55aepost\u7684\u8cc7\u6599<br \/>$username = $aFormValues[&#39;username&#39;];<\/p>\n<p>if (trim($username) == &quot;&quot;)<br \/>{<br \/>\/\/\u7522\u751f\u932f\u8aa4\u8a0a\u606f\u7684alert<br \/>$objResponse-&gt;addAlert(&quot;\u540d\u5b57\u5c1a\u672a\u8f38\u5165!&quot;);<\/p>\n<p>\/\/\u56de\u50b3xajaxResponse\u7269\u4ef6<br \/>return $objResponse;<\/p>\n<p>}<br \/>else<br \/>{<br \/>\/\/\u8a2d\u5b9aid\u70ba&quot;outputDiv&quot;\u7684div\u5143\u7d20\u7684innerHTML\u5c6c\u6027\u70ba&quot;xxx\uff0c\u4f60\u597d!!&quot;<br \/>$objResponse-&gt;addAssign(&quot;outputDiv&quot;,&quot;innerHTML&quot;,$username.&#39;\uff0c\u4f60\u597d!!&#39;);<\/p>\n<p>\/\/\u56de\u50b3xajaxResponse\u7269\u4ef6<br \/>return $objResponse;<\/p>\n<p>}<br \/>}<br \/>?&gt;<br \/><\/span><\/span><\/td>\n<\/tr>\n<\/table>\n<p> <span style=\"font-size: x-small\"><span style=\"font-size: small\">\u88ab\u547c\u53eb\u5230\u7684php function\uff0c\u6ce8\u610f\u7d05\u5b57\u7684\u90e8\u5206\u5c31\u662f\u4e4b\u524d\u547c\u53eb\u7684function\u540d\u7a31\u3002<\/p>\n<p><\/span><\/span> <\/p>\n<ul><\/p>\n<li><span style=\"font-size: x-small\"><span style=\"font-size: small\">$objResponse = new xajaxResponse()\uff1a\u5275\u5efa\u4e00\u500bxajaxResponse\u7269\u4ef6\uff0c\u7528\u4f86\u8655\u7406xajax\u56de\u50b3\u7a0b\u5e8f\u7684\u7269\u4ef6\u3002<\/span><\/span><\/li>\n<p><\/p>\n<li><span style=\"font-size: x-small\"><span style=\"font-size: small\">$objResponse-&gt;addAlert(&quot;xxx&quot;)\uff1a\u7522\u751f\u5f48\u51fa\u8a0a\u606f\u7684JavaScript\uff0cxxx\u90e8\u5206\u53ef\u586b\u5165\u60f3\u986f\u793a\u7684\u8a0a\u606f\u3002<\/span><\/span><\/li>\n<p><\/p>\n<li><span style=\"font-size: x-small\"><span style=\"font-size: small\">$objResponse-&gt;addAssign(&quot;outputDiv&quot;,&quot;innerHTML&quot;,&quot;xxx&quot;)\uff1a\u8a2d\u5b9aid\u70ba&quot;outputDiv&quot;\u7684div\u5143\u7d20\u7684innerHTML\u5c6c\u6027\u70ba&quot;xxx&quot;\uff0cxxx\u90e8\u5206\u53ef\u586b\u5165\u60f3\u986f\u793a\u7684\u8a0a\u606f\u3002<\/span><\/span><\/li>\n<p><\/p>\n<li><span style=\"font-size: x-small\"><span style=\"font-size: small\">return $objResponse\uff1a\u56de\u50b3xajaxResponse\u7269\u4ef6<\/span><\/span><\/li>\n<p><\/ul>\n<p><span style=\"font-size: x-small\"><strong><span style=\"color: #ff00ff\"><span style=\"font-size: small\">\u4ee5\u4e0a\u6240\u6709\u9019\u4e9b\u529f\u80fd\u90fd\u662f\u5728\u4f3a\u670d\u5668\u7aefPHP\u51fd\u6578\u4e2d\u901a\u904e\u69cb\u9020\u4e26\u8fd4\u56de\u4e00\u500bXML\u56de\u61c9\u4f86\u5be6\u73fe\u7684\u3002<\/span><\/span><\/strong> <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ecb\u7d39php\u8207ajax\u7684\u61c9\u7528\uff1axajax\u57fa\u672c\uff08\u8cfc\u7269\u7db2\u7ad9\u5ef6\u4f38\u6559\u5b78\uff09xajax \u662f\u4e00\u500b\u958b\u6e90\u7684 PHP \u985e\u5eab\uff0c\u7528\u4f86\u69cb\u5efa [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":576,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[],"_links":{"self":[{"href":"https:\/\/por.tw\/sale\/wp-json\/wp\/v2\/posts\/156"}],"collection":[{"href":"https:\/\/por.tw\/sale\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/por.tw\/sale\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/por.tw\/sale\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/por.tw\/sale\/wp-json\/wp\/v2\/comments?post=156"}],"version-history":[{"count":0,"href":"https:\/\/por.tw\/sale\/wp-json\/wp\/v2\/posts\/156\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/por.tw\/sale\/wp-json\/wp\/v2\/media\/576"}],"wp:attachment":[{"href":"https:\/\/por.tw\/sale\/wp-json\/wp\/v2\/media?parent=156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/por.tw\/sale\/wp-json\/wp\/v2\/categories?post=156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/por.tw\/sale\/wp-json\/wp\/v2\/tags?post=156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}