{"id":91,"date":"2026-05-14T16:24:05","date_gmt":"2026-05-14T08:24:05","guid":{"rendered":"https:\/\/blog.yunbai.icu\/?p=91"},"modified":"2026-06-02T18:57:34","modified_gmt":"2026-06-02T10:57:34","slug":"api-%e7%ae%a1%e7%90%86%e7%b3%bb%e7%bb%9f%e9%83%a8%e7%bd%b2%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/blog.yunbai.icu\/?p=91","title":{"rendered":"API \u7ba1\u7406\u7cfb\u7edf\u90e8\u7f72\u6559\u7a0b"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">\u843d\u4e03\u4e03 API \u7ba1\u7406\u7cfb\u7edf\u8be6\u7ec6\u90e8\u7f72\u4e0e\u5f00\u53d1\u6559\u7a0b\uff08\u6b63\u7248\u6388\u6743\u7248\uff09<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001 \u91cd\u8981\u58f0\u660e\uff08\u5fc5\u8bfb\uff09<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u5f00\u59cb\u672c\u6559\u7a0b\u4e4b\u524d\uff0c\u5173\u4e8e\u672c\u5957\u7cfb\u7edf\u7684\u6388\u6743\u4e0e\u66f4\u65b0\u673a\u5236\uff0c\u6709\u51e0\u70b9\u9700\u8981\u7279\u522b\u8bf4\u660e\uff1a<br><strong>\u8fd9\u4e2a\u6e90\u7801\u662f\u6211\u4e70\u7684\uff0c\u6211\u52a0\u7684\u6388\u6743\u3002\u81f3\u4e8e\u8fd9\u4e2a\u6388\u6743\uff0c\u5df2\u83b7\u5f97\u539f\u4f5c\u8005\u540c\u610f\u3002\u4f60\u4eec\u652f\u4ed8\u7684\u8d39\u7528\uff0c\u6211\u8981\u5206\u7ed9\u539f\u4f5c\u8005\u4e03\u6210\uff0c\u5269\u4e0b\u7684\u4f5c\u4e3a\u5f15\u6d41\u5546\u57ce\u7684\u4fe1\u606f\u670d\u52a1\u8d39\u3002\u5982\u679c\u4f60\u4eec\u8d2d\u4e70\u4e86\u8fd9\u5957\u6e90\u7801\uff0c\u540e\u7eed\u539f\u4f5c\u8005\u56e0\u4e3a\u67d0\u4e9b\u539f\u56e0\u5982\u679c\u4e0d\u66f4\u65b0\uff0c\u5c06\u7531\u6211\u8d1f\u8d23\u66f4\u65b0\u3002<\/strong><br>\u6240\u4ee5\u8bf7\u5404\u4f4d\u653e\u5fc3\u8d2d\u4e70\u548c\u4f7f\u7528\uff0c\u672c\u7cfb\u7edf\u62e5\u6709\u5145\u8db3\u7684\u552e\u540e\u4fdd\u969c\u4e0e\u6301\u7eed\u7684\u8fed\u4ee3\u7ef4\u62a4\u80fd\u529b\u3002\u4f5c\u4e3a\u4e00\u6b3e\u5168\u5f00\u6e90\u3001\u9ad8\u5e76\u53d1\u3001\u4e13\u4e1a\u7ea7\u7684 API \u5206\u53d1\u7ba1\u7406\u89e3\u51b3\u65b9\u6848\uff0c\u5b83\u96c6\u6210\u4e86\u5f3a\u5927\u7684 QPS \u9650\u5236\u3001\u63a5\u53e3\u8ba1\u8d39\u3001\u53ef\u89c6\u5316\u6570\u636e\u5206\u6790\u7b49\u529f\u80fd\uff0c\u662f\u5f00\u53d1\u8005\u6784\u5efa\u4e2a\u4eba\u6216\u4f01\u4e1a\u7ea7 API \u5e73\u53f0\u7684\u7406\u60f3\u9009\u62e9\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001 \u51c6\u5907\u5de5\u4f5c\uff1a\u670d\u52a1\u5668\u73af\u5883\u4e0e\u6269\u5c55\u8981\u6c42<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e3a\u4e86\u4fdd\u8bc1\u843d\u4e03\u4e03 API \u7ba1\u7406\u7cfb\u7edf\u7684\u5404\u9879\u529f\u80fd\uff08\u7279\u522b\u662f\u6781\u901f\u5e76\u53d1\u4e0e\u8ba1\u8d39\u62e6\u622a\uff09\u80fd\u591f\u7a33\u5b9a\u8fd0\u884c\uff0c\u8bf7\u52a1\u5fc5\u4e25\u683c\u6309\u7167\u4ee5\u4e0b\u8981\u6c42\u914d\u7f6e\u60a8\u7684\u670d\u52a1\u5668\u73af\u5883\u3002<br><strong>1. \u57fa\u7840\u73af\u5883\u914d\u7f6e<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u64cd\u4f5c\u7cfb\u7edf\uff1a<\/strong> CentOS \/ Ubuntu \/ Debian \u5747\u53ef\uff08\u5f3a\u70c8\u63a8\u8350\u5b89\u88c5\u5b9d\u5854\u9762\u677f BT-Panel \u4ee5\u4fbf\u53ef\u89c6\u5316\u7ba1\u7406\uff09\u3002<\/li>\n\n\n\n<li><strong>PHP \u7248\u672c\uff1a<\/strong> \u63a8\u8350\u4f7f\u7528 <strong>PHP 8.0<\/strong>\u3002\u8bf7\u6ce8\u610f\uff0c\u7cfb\u7edf\u5bf9\u5e95\u5c42\u4ee3\u7801\u8fdb\u884c\u4e86\u6df1\u5ea6\u4f18\u5316\uff0c\u4f4e\u7248\u672c\u53ef\u80fd\u65e0\u6cd5\u517c\u5bb9\u3002<\/li>\n\n\n\n<li><strong>\u6570\u636e\u5e93\uff1a<\/strong> MySQL 5.7+\uff08\u63a8\u8350\u4f7f\u7528 5.7 \u6216 8.0 \u7248\u672c\uff09\u3002<br><strong>2. \u5fc5\u987b\u5b89\u88c5\u7684 PHP \u6269\u5c55\uff08\u6838\u5fc3\u91cd\u70b9\uff09<\/strong><br>\u8fdb\u5165\u5b9d\u5854\u9762\u677f -&gt; \u8f6f\u4ef6\u5546\u5e97 -&gt; \u60a8\u5b89\u88c5\u7684 PHP \u7248\u672c -&gt; \u8bbe\u7f6e -&gt; \u5b89\u88c5\u6269\u5c55\uff1a<\/li>\n\n\n\n<li><strong>Redis \u6269\u5c55\uff1a<\/strong> \u5fc5\u987b\u5b89\u88c5\u3002\u7cfb\u7edf\u7684 QPS \u9891\u7387\u9650\u5236\uff08\u9ad8\u9891\u8ba1\u6570\uff09\u5b8c\u5168\u4f9d\u8d56 Redis \u5185\u5b58\u7f13\u5b58\uff0c\u4e0d\u5b89\u88c5\u5c06\u5bfc\u81f4\u5e76\u53d1\u9650\u5236\u548c\u9891\u7387\u7edf\u8ba1\u529f\u80fd\u5931\u6548\u3002<\/li>\n\n\n\n<li><strong>sg12 \u6269\u5c55\uff1a<\/strong> <strong>\u5fc5\u987b\u5b89\u88c5\u3002<\/strong> \u5e95\u5c42\u6838\u5fc3\u6587\u4ef6\u4f9d\u8d56 sg12 \u52a0\u5bc6\u6269\u5c55\u8fdb\u884c\u89e3\u6790\u4e0e\u8fd0\u884c\uff0c\u5982\u679c\u672a\u5b89\u88c5\u6b64\u6269\u5c55\uff0c\u8bbf\u95ee\u7f51\u7ad9\u65f6\u5c06\u4f1a\u51fa\u73b0\u81f4\u547d\u9519\u8bef\u6216\u767d\u5c4f\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001 \u57fa\u7840\u90e8\u7f72\u6d41\u7a0b<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. \u4e0a\u4f20\u6e90\u7801\u4e0e\u89e3\u538b<\/strong><br>\u767b\u5f55\u5b9d\u5854\u9762\u677f\uff0c\u8fdb\u5165\u201c\u7f51\u7ad9\u201d\u83dc\u5355\uff0c\u70b9\u51fb\u201c\u6dfb\u52a0\u7ad9\u70b9\u201d\u5e76\u7ed1\u5b9a\u60a8\u7684\u57df\u540d\u3002\u521b\u5efa\u5b8c\u6210\u540e\uff0c\u8fdb\u5165\u7f51\u7ad9\u6839\u76ee\u5f55\uff0c\u5c06\u4e0b\u8f7d\u597d\u7684\u6e90\u7801\u5305\u4e0a\u4f20\u5e76\u89e3\u538b\u3002\u8bf7\u786e\u4fdd\u7cfb\u7edf\u5185\u6240\u6709\u7684\u76ee\u5f55\uff08\u5c24\u5176\u662f\u63a5\u53e3\u76ee\u5f55\uff09\u5177\u6709\u8db3\u591f\u7684\u8bfb\u5199\u6743\u9650\u3002<br><strong>2. \u4fee\u6539\u6838\u5fc3\u914d\u7f6e\u6587\u4ef6<\/strong><br>\u627e\u5230\u7f51\u7ad9\u6839\u76ee\u5f55\u4e0b\u7684 config.php \u6587\u4ef6\uff0c\u8fd9\u662f\u7cfb\u7edf\u7684\u6838\u5fc3\u914d\u7f6e\u6587\u4ef6\u3002\u60a8\u9700\u8981\u5c06\u5176\u4e2d\u7684\u6570\u636e\u5e93\u8fde\u63a5\u4fe1\u606f\u4ee5\u53ca\u90ae\u7bb1\u670d\u52a1\u5668\u914d\u7f6e\uff08\u7528\u4e8e\u627e\u56de\u5bc6\u7801\u548c\u53d1\u9001\u901a\u77e5\uff09\u4fee\u6539\u4e3a\u60a8\u81ea\u5df1\u7684\u4fe1\u606f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ \u6570\u636e\u5e93\u914d\u7f6e\u793a\u4f8b\ndefine('DB_HOST', 'localhost');\ndefine('DB_NAME', '\u60a8\u7684\u6570\u636e\u5e93\u540d');\ndefine('DB_USER', '\u60a8\u7684\u6570\u636e\u5e93\u7528\u6237\u540d');\ndefine('DB_PASS', '\u60a8\u7684\u6570\u636e\u5e93\u5bc6\u7801');\n\n\/\/ \u90ae\u4ef6\u670d\u52a1\u5668\u914d\u7f6e\ndefine('SMTP_SERVER', 'smtp.example.com');\ndefine('SMTP_USER', 'service@example.com');\ndefine('SMTP_KEY', '\u60a8\u7684\u90ae\u7bb1\u6388\u6743\u7801');<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3. \u914d\u7f6e\u4f2a\u9759\u6001\u89c4\u5219\uff08\u6781\u4e3a\u5173\u952e\uff09<\/strong><br>API \u7684\u8def\u7531\u8f6c\u53d1\u5b8c\u5168\u4f9d\u8d56\u4f2a\u9759\u6001\u3002\u8bf7\u5728\u5b9d\u5854\u9762\u677f\u7684\u7ad9\u70b9\u8bbe\u7f6e\u4e2d\uff0c\u627e\u5230\u201c\u4f2a\u9759\u6001\u201d\u9009\u9879\u5361\uff0c\u586b\u5165\u4ee5\u4e0b Nginx \u4f2a\u9759\u6001\u89c4\u5219\u5e76\u4fdd\u5b58\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>location \/ {\n    try_files $uri $uri\/ @router;\n}\n\nlocation @router {\n    rewrite ^\/a\/(&#91;0-9]+)$ \/detail.php?id=$1 last;\n    rewrite ^\/$ \/index.php last;\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001 \u63a5\u53e3\u5f00\u53d1\u89c4\u8303\u4e0e\u6dfb\u52a0\u6559\u7a0b<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u7cfb\u7edf\u901a\u8fc7\u201c\u6807\u8bc6\uff08\u77ed\u540d\uff09\u201d\u6765\u8c03\u7528\u5e76\u7ba1\u7406\u63a5\u53e3\u7684\u8c03\u7528\u6b21\u6570\u4e0e\u8ba1\u8d39\u72b6\u6001\u3002\u8bf7\u52a1\u5fc5\u6309\u7167\u4ee5\u4e0b\u89c4\u8303\u8fdb\u884c\u5f00\u53d1\u3002<br><strong>1. \u63a8\u8350\u7684\u63a5\u53e3\u6e90\u7801\u5b58\u653e\u4f4d\u7f6e<\/strong><br>\u6211\u5f3a\u70c8\u63a8\u8350\u5c06\u60a8\u7684\u63a5\u53e3\u6e90\u7801\u7edf\u4e00\u653e\u7f6e\u5728\u8fd9\u4e2a\u4f4d\u7f6e\u7ed3\u6784\u4e0b\uff1a\/api\/\u63a5\u53e3\u540d\u79f0\/api.php\u3002<br>\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u8981\u5199\u4e00\u4e2a ACG \u52a8\u6f2b\u56fe\u7247\u7684 API\uff0c\u5bf9\u5e94\u7684\u6587\u4ef6\u8def\u5f84\u5c31\u662f\uff1aapi\/acg\/api.php\u3002<br><strong>2. \u7edf\u8ba1\u6b21\u6570\u4e0e\u4ed8\u8d39\u8c03\u7528\u6838\u5fc3\u4ee3\u7801<\/strong><br>\u8981\u5728\u60a8\u7684\u63a5\u53e3\u6e90\u7801\u4e2d\u63a5\u5165\u7cfb\u7edf\u7684\u7edf\u8ba1\u6b21\u6570\u3001QPS \u9650\u5236\u548c\u4ed8\u8d39\u8c03\u7528\u529f\u80fd\uff0c\u5fc5\u987b\u5728\u63a5\u53e3\u6587\u4ef6\u7684\u6700\u9876\u90e8\u5f15\u5165\u6838\u5fc3\u6587\u4ef6\u5e76\u521d\u59cb\u5316\u63a5\u53e3\u77ed\u540d\u3002<br>\u5f15\u5165\u7684\u6838\u5fc3\u4ee3\u7801\u5fc5\u987b\u662f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\nrequire_once __DIR__ . '\/..\/..\/Interface\/core.php'; \nsakura_api_boot('\u63a5\u53e3\u6807\u8bc6 \u77ed\u540d');<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>\uff08\u6ce8\u610f\uff1a\u8fd9\u91cc\u7684 sakura_api_boot() \u62ec\u53f7\u5185\u586b\u5199\u7684\u5fc5\u987b\u662f\u4f60\u5728\u540e\u53f0\u6dfb\u52a0\u63a5\u53e3\u65f6\u8bbe\u7f6e\u7684\u201c\u6807\u8bc6\uff08\u77ed\u540d\uff09\u201d\u3002\u4e0b\u9762\u624d\u662f\u4f60\u7684\u4e1a\u52a1\u6e90\u7801\u3002\uff09<\/em><br><strong>3. \u5b8c\u6574\u7684\u63a5\u53e3\u5f00\u53d1\u793a\u4f8b<\/strong><br>\u7ed3\u5408\u4e0a\u9762\u7684\u8def\u5f84\u8981\u6c42\u548c\u6838\u5fc3\u4ee3\u7801\uff0c\u4e00\u4e2a\u5b8c\u6574\u7684 ACG \u56fe\u7247\u63a5\u53e3\uff08\u6587\u4ef6\u4f4d\u4e8e api\/acg\/api.php\uff09\u7684\u5177\u4f53\u5199\u6cd5\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\nrequire_once __DIR__ . '\/..\/..\/Interface\/core.php'; \nsakura_api_boot('acgapi');\nheader(\"Content-Type: text\/plain; charset=utf-8\");\necho \"Hello World\";<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u7528\u6237\u8bbf\u95ee\u8fd9\u4e2a\u63a5\u53e3\u65f6\uff0c\u7cfb\u7edf\u4f1a\u81ea\u52a8\u62e6\u622a\u5224\u65ad\u7528\u6237\u7684\u5269\u4f59\u6b21\u6570\u3001\u8d26\u6237\u4f59\u989d\u4ee5\u53ca\u662f\u5426\u89e6\u53d1\u4e86 QPS \u9650\u5236\uff0c\u9a8c\u8bc1\u901a\u8fc7\u540e\u624d\u4f1a\u8f93\u51fa\u4e0b\u65b9\u7684 &#8220;Hello World&#8221; \u6216\u4f60\u7684\u5177\u4f53\u4e1a\u52a1\u903b\u8f91\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e94\u3001 \u7cfb\u7edf\u6388\u6743\u6fc0\u6d3b\u6307\u5f15 (\u5fc5\u987b\u64cd\u4f5c)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u7248\u672c\u4e3a\u5e26\u6709\u6388\u6743\u4fdd\u62a4\u7684\u6b63\u7248\u6e90\u7801\uff0c\u5728\u90e8\u7f72\u5b8c\u6bd5\u540e\uff0c\u5fc5\u987b\u914d\u7f6e\u6388\u6743\u6587\u4ef6\u624d\u80fd\u6b63\u5e38\u4f7f\u7528\u3002<br>\u83b7\u53d6\u6388\u6743\u7801\u7684\u65b9\u5f0f\u8bf7\u524d\u5f80\u4e13\u5c5e\u7684\u6388\u6743\u9a8c\u8bc1\u7f51\u7ad9\uff1aauth.yunbai.icu\u3002\u5728\u8be5\u7f51\u7ad9\u4f7f\u7528\u60a8\u8d2d\u4e70\u7684\u5361\u5bc6\u8fdb\u884c\u81ea\u52a9\u6388\u6743\u3002\u6388\u6743\u5b8c\u6210\u540e\uff0c\u60a8\u5c06\u83b7\u5f97\u4e00\u4e2a\u4e13\u5c5e\u7684\u6388\u6743\u7801\u3002<br>\u62ff\u5230\u6388\u6743\u7801\u540e\uff0c\u8bf7\u627e\u5230\u7cfb\u7edf\u5185\u7684\u6388\u6743\u6587\u4ef6\uff08\u901a\u5e38\u4f4d\u4e8e\u6839\u76ee\u5f55\u7684 auth.php\uff09\uff0c\u5c06\u5176\u5185\u5bb9\u5b8c\u5168\u66ff\u6362\u4e3a\u4ee5\u4e0b\u683c\u5f0f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\nreturn &#91;\n    'authcode' =&gt; '\u586b\u5165\u4f60\u7684\u6388\u6743\u7801'\n];<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4fdd\u5b58\u6587\u4ef6\u540e\uff0c\u7cfb\u7edf\u5373\u5b8c\u6210\u6fc0\u6d3b\uff0c\u60a8\u53ef\u4ee5\u767b\u5f55\u540e\u53f0\u5f00\u59cb\u914d\u7f6e\u60a8\u7684 API \u5e73\u53f0\u4e86\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6ce8\u610f\uff0c\u6700\u65b0\u7248\u5982\u679c\u662f\u4ece\u6388\u6743\u7ad9\u4e0b\u8f7d\u7684\uff0c\u4f1a\u81ea\u52a8\u586b\u5199\u6388\u6743\u5417<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u516d\u3001 QPS\uff08\u9891\u7387\u9650\u5236\uff09\u9ad8\u7ea7\u673a\u5236\u8bf4\u660e<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u843d\u4e03\u4e03\u7cfb\u7edf\u5185\u7f6e\u4e86\u53cc\u5c42 QPS \u9891\u7387\u63a7\u5236\u673a\u5236\uff0c\u80fd\u6709\u6548\u9632\u6b62\u6076\u610f\u5237\u5305\u548c CC \u653b\u51fb\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u516c\u5171 QPS\uff1a<\/strong> \u9488\u5bf9\u4e0d\u643a\u5e26 Key\uff08\u6e38\u5ba2\uff09\u7684\u7528\u6237\uff0c\u9650\u5236\u5168\u5c40\u7684\u8bf7\u6c42\u9891\u7387\u3002\u53ef\u4ee5\u6709\u6548\u9632\u6b62\u516c\u5171\u63a5\u53e3\u88ab\u65e0\u5dee\u522b\u6076\u610f\u8c03\u7528\u3002<\/li>\n\n\n\n<li><strong>\u4e2a\u4eba QPS\uff1a<\/strong> \u9488\u5bf9\u5e26 Key \u7684\u6ce8\u518c\/\u4ed8\u8d39\u7528\u6237\u3002\u7528\u6237\u9700\u8981\u5728\u4e2a\u4eba\u4e2d\u5fc3\u8fdb\u884c\u521d\u59cb\u5316\uff0c\u7cfb\u7edf\u652f\u6301\u5355\u4eba\u5355\u63a5\u53e3\u7ea7\u522b\u7684\u5e76\u53d1\u9650\u5236\u3002<\/li>\n\n\n\n<li><strong>\u5c01\u7981\u673a\u5236\uff1a<\/strong> \u7cfb\u7edf\u9ed8\u8ba4\u914d\u7f6e\u4e3a\uff1a\u82e5 30 \u79d2\u5185\u5355 IP \u6216\u5355 Key \u8bf7\u6c42\u8d85\u8fc7\u9650\u5236\u6b21\u6570\uff0c\u7cfb\u7edf\u5c06\u81ea\u52a8\u5728 Redis \u5c42\u9762\u62e6\u622a\u5e76\u5c01\u7981 60 \u79d2\uff0c\u6781\u5927\u8282\u7701\u4e86\u670d\u52a1\u5668\u8d44\u6e90\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u843d\u4e03\u4e03 API \u7ba1\u7406\u7cfb\u7edf\u8be6\u7ec6\u90e8\u7f72\u4e0e\u5f00\u53d1\u6559\u7a0b\uff08\u6b63\u7248\u6388\u6743\u7248\uff09 \u4e00\u3001 \u91cd\u8981\u58f0\u660e\uff08\u5fc5\u8bfb\uff09 \u5728\u5f00\u59cb\u672c\u6559\u7a0b\u4e4b\u524d\uff0c\u5173\u4e8e\u672c\u5957\u7cfb [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-91","post","type-post","status-publish","format-standard","hentry","category-learn"],"_links":{"self":[{"href":"https:\/\/blog.yunbai.icu\/index.php?rest_route=\/wp\/v2\/posts\/91","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.yunbai.icu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.yunbai.icu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.yunbai.icu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.yunbai.icu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=91"}],"version-history":[{"count":4,"href":"https:\/\/blog.yunbai.icu\/index.php?rest_route=\/wp\/v2\/posts\/91\/revisions"}],"predecessor-version":[{"id":106,"href":"https:\/\/blog.yunbai.icu\/index.php?rest_route=\/wp\/v2\/posts\/91\/revisions\/106"}],"wp:attachment":[{"href":"https:\/\/blog.yunbai.icu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=91"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.yunbai.icu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=91"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.yunbai.icu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=91"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}