{"id":1791,"date":"2016-12-02T11:01:42","date_gmt":"2016-12-02T03:01:42","guid":{"rendered":"https:\/\/ai.zhousir.top\/?p=1791"},"modified":"2026-08-18T11:18:52","modified_gmt":"2026-08-18T03:18:52","slug":"web%e8%bf%87%e8%99%91%e5%99%a8","status":"publish","type":"post","link":"https:\/\/ai.zhousir.top\/?p=1791","title":{"rendered":"web\u8fc7\u8651\u5668"},"content":{"rendered":"<section id=\"wenyan\" style=\"font-family: system-ui, 'Apple Color Emoji', 'Segoe UI', 'Segoe UI Symbol', 'Noto Sans', Roboto, sans-serif; line-height: 1.75; font-size: 16px; color: #000000; caret-color: #000000;\" data-provider=\"WenYan\">\n<p style=\"margin: 1em 0px;\"><strong style=\"color: #4870ac;\">\u8fc7\u6ee4\u5668<\/strong>\uff08Filter\uff09\u662f\u670d\u52a1\u7aef\u5b9e\u73b0 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">javax.servlet.Filter<\/code> \u7684 Java \u7c7b\uff0c\u7528\u6765\u622a\u53d6\u5ba2\u6237\u7aef\u8bf7\u6c42\u548c\u670d\u52a1\u5668\u54cd\u5e94\u3002\u5b83\u53ef\u4ee5\u5728\u8bf7\u6c42\u5230\u8fbe\u540e\u7aef\u8d44\u6e90\u4e4b\u524d\u62e6\u622a\uff0c\u4e5f\u53ef\u4ee5\u5728\u54cd\u5e94\u5199\u56de\u5ba2\u6237\u7aef\u4e4b\u524d\u518d\u5904\u7406\u4e00\u904d\u3002<\/p>\n<p style=\"margin: 1em 0px;\">\u914d\u7f6e\u5199\u5728 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">web.xml<\/code>\uff1a\u751f\u547d\u5468\u671f\u662f\u5b9e\u4f8b\u5316 \u2192 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">init()<\/code> \u2192 \u591a\u6b21 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">doFilter()<\/code> \u2192 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">destroy()<\/code>\u3002\u591a\u4e2a\u8fc7\u6ee4\u5668\u4f1a\u6309\u6620\u5c04\u987a\u5e8f\u7ec4\u6210\u8fc7\u6ee4\u94fe\u3002<\/p>\n<p style=\"margin: 1em 0px;\">\u548c\u76d1\u542c\u5668\u4e0d\u540c\uff0c\u8fc7\u6ee4\u5668\u4e00\u5b9a\u8981\u8c03\u7528 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">chain.doFilter()<\/code> \u624d\u80fd\u628a\u8bf7\u6c42\u4ea4\u7ed9\u4e0b\u4e00\u4e2a\u73af\u8282\uff1b\u4e0d\u8c03\u7528\u5c31\u7b49\u4e8e\u622a\u65ad\u3002<\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e00\u3001\u8fc7\u6ee4\u5668\u5b9a\u4e49<\/h2>\n<ul style=\"padding-left: 1rem; margin-left: 1rem; font-size: 0.9rem; list-style-type: disc;\">\n<li>\n<section>\u5728\u5ba2\u6237\u7aef\u8bf7\u6c42\u8bbf\u95ee\u540e\u7aef\u8d44\u6e90\u4e4b\u524d\uff0c\u62e6\u622a\u8fd9\u4e9b\u8bf7\u6c42\u3002<\/section>\n<\/li>\n<li>\n<section>\u5728\u670d\u52a1\u5668\u7684\u54cd\u5e94\u53d1\u9001\u56de\u5ba2\u6237\u7aef\u4e4b\u524d\uff0c\u5904\u7406\u8fd9\u4e9b\u54cd\u5e94\u3002<\/section>\n<\/li>\n<\/ul>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e8c\u3001\u5de5\u4f5c\u539f\u7406<\/h2>\n<p style=\"margin: 1em 0px;\"><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/12\/20161202104427.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone  wp-image-1792\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/12\/20161202104427.png\" alt=\"20161202104427\" width=\"725\" height=\"309\" \/><\/a><\/p>\n<p style=\"margin: 1em 0px;\">\u8bf7\u6c42\u8fdb\u5165\u5bb9\u5668\u540e\uff0c\u5148\u7ecf\u8fc7\u8fc7\u6ee4\u5668\u94fe\uff0c\u518d\u5230\u8fbe Servlet \/ JSP\uff1b\u54cd\u5e94\u6cbf\u539f\u8def\u8fd4\u56de\uff0c\u8fc7\u6ee4\u5668\u53ef\u4ee5\u5728\u8fd4\u56de\u8def\u5f84\u4e0a\u518d\u6b21\u52a0\u5de5\u3002<\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e09\u3001\u8fc7\u6ee4\u5668\u914d\u7f6e\u4e0e\u751f\u547d\u5468\u671f<\/h2>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">\u5b9e\u4f8b\u5316     web.xml \u52a0\u8f7d\u65f6\n\u521d\u59cb\u5316     init()\n\u8fc7\u6ee4       doFilter()   \/\/ \u6bcf\u4e2a\u5339\u914d\u8bf7\u6c42\u90fd\u4f1a\u8fdb\n\u9500\u6bc1       destroy()<\/code><\/pre>\n<p style=\"margin: 1em 0px;\">web.xml \u5404\u8282\u70b9\u542b\u4e49\uff1a<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">&lt;filter&gt;                 \u6307\u5b9a\u4e00\u4e2a\u8fc7\u6ee4\u5668\n  &lt;filter-name&gt;          \u8fc7\u6ee4\u5668\u540d\u5b57\uff0c\u4e0d\u80fd\u4e3a\u7a7a\n  &lt;filter-class&gt;         \u5b8c\u6574\u9650\u5b9a\u7c7b\u540d\n  &lt;init-param&gt;           \u521d\u59cb\u5316\u53c2\u6570\uff1b\u5b50\u5143\u7d20 param-name \/ param-value\n                         \u4ee3\u7801\u91cc\u7528 FilterConfig \u8bfb\u53d6\n&lt;filter-mapping&gt;         \u8be5 Filter \u62e6\u622a\u54ea\u4e9b\u8d44\u6e90\n  &lt;filter-name&gt;          \u5fc5\u987b\u5bf9\u5e94\u4e0a\u9762\u58f0\u660e\u8fc7\u7684\u540d\u5b57\n  &lt;url-pattern&gt;          \u62e6\u622a\u7684\u8bf7\u6c42\u8def\u5f84\n  &lt;servlet-name&gt;         \u6216\u6309 Servlet \u540d\u79f0\u62e6\u622a<\/code><\/pre>\n<p style=\"margin: 1em 0px;\">\u8fc7\u6ee4\u5668\u7c7b\u6700\u5c0f\u9aa8\u67b6\uff1a<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">public class LoginFilter implements Filter {\n    public void destroy() {\n    }\n\n    public void doFilter(ServletRequest request, ServletResponse response,\n                         FilterChain chain) throws IOException, ServletException {\n        \/\/ place your code here\n        chain.doFilter(request, response);\n    }\n\n    public void init(FilterConfig fConfig) throws ServletException {\n    }\n}<\/code><\/pre>\n<p style=\"margin: 1em 0px;\">\u5bf9\u5e94\u7684 web.xml \u914d\u7f6e\uff08\u4e24\u4e2a\u8fc7\u6ee4\u5668\u90fd\u6620\u5c04 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">\/*<\/code>\uff09\uff1a<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 12px; background: #002b36; max-width: 100%; overflow-wrap: normal;\"><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow-x: auto; margin: 0.5em; padding: 3px 5px; color: #93a1a1; background: #002b36; overflow-wrap: normal;\">&lt;filter&gt;\n    &lt;filter-name&gt;LoginFilter&lt;\/filter-name&gt;\n    &lt;filter-class&gt;com.ittx.test.LoginFilter&lt;\/filter-class&gt;\n    &lt;init-param&gt;\n        &lt;param-name&gt;test-param&lt;\/param-name&gt;\n        &lt;param-value&gt;Initialization Paramter&lt;\/param-value&gt;\n    &lt;\/init-param&gt;\n&lt;\/filter&gt;\n\n&lt;filter&gt;\n    &lt;filter-name&gt;AuthenFilter&lt;\/filter-name&gt;\n    &lt;filter-class&gt;com.ittx.test.AuthenFilter&lt;\/filter-class&gt;\n    &lt;init-param&gt;\n        &lt;param-name&gt;test-param&lt;\/param-name&gt;\n        &lt;param-value&gt;Initialization Paramter&lt;\/param-value&gt;\n    &lt;\/init-param&gt;\n&lt;\/filter&gt;\n\n&lt;filter-mapping&gt;\n    &lt;filter-name&gt;LoginFilter&lt;\/filter-name&gt;\n    &lt;url-pattern&gt;\/*&lt;\/url-pattern&gt;\n&lt;\/filter-mapping&gt;\n\n&lt;filter-mapping&gt;\n    &lt;filter-name&gt;AuthenFilter&lt;\/filter-name&gt;\n    &lt;url-pattern&gt;\/*&lt;\/url-pattern&gt;\n&lt;\/filter-mapping&gt;<\/code><\/pre>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u56db\u3001\u8fc7\u6ee4\u94fe<\/h2>\n<p style=\"margin: 1em 0px;\">\u4e00\u4e2a Web \u8bf7\u6c42\u53ef\u4ee5\u5b9a\u4e49\u591a\u4e2a\u8fc7\u6ee4\u5668\uff0c\u5b83\u4eec\u6309\u58f0\u660e\u987a\u5e8f\u7ec4\u88c5\u6210\u4e00\u6761\u8fc7\u6ee4\u94fe\u3002<\/p>\n<p style=\"margin: 1em 0px;\"><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/12\/20161202105130.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone  wp-image-1796\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2016\/12\/20161202105130.png\" alt=\"20161202105130\" width=\"709\" height=\"254\" \/><\/a><\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e94\u3001\u8fc7\u6ee4\u5668\u5206\u7c7b<\/h2>\n<p style=\"margin: 1em 0px;\">\u7528 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; color: #4870ac; font-size: 0.9em; font-weight: normal; overflow-wrap: break-word; padding: 2px 4px; border-radius: 3px; margin: 2px; background-color: #f6f8fa; word-break: break-all;\">&lt;dispatcher&gt;<\/code> \u6307\u5b9a\u8d44\u6e90\u88ab\u5bb9\u5668\u8c03\u7528\u7684\u65b9\u5f0f\uff0c\u53ef\u4ee5\u662f REQUEST\u3001INCLUDE\u3001FORWARD\u3001ERROR \u4e4b\u4e00\uff0c\u9ed8\u8ba4 REQUEST\u3002\u4e5f\u53ef\u4ee5\u5199\u591a\u4e2a\u5b50\u5143\u7d20\uff0c\u8ba9\u540c\u4e00\u4e2a Filter \u62e6\u622a\u591a\u79cd\u8c03\u7528\u65b9\u5f0f\u3002<\/p>\n<table style=\"display: table; text-align: left; overflow: auto; border-collapse: collapse; margin: 1.4em auto; max-width: 100%; table-layout: fixed; overflow-wrap: break-word; word-break: break-all;\" width=\"800\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">dispatcher<\/th>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">\u4f55\u65f6\u8c03\u7528<\/th>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">\u5176\u4ed6\u60c5\u51b5<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">REQUEST<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u7528\u6237\u76f4\u63a5\u8bbf\u95ee\u9875\u9762<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">include \/ forward \u8fc7\u53bb\u7684\u8bf7\u6c42\u4e0d\u4f1a\u8fdb\u8fd9\u4e2a\u8fc7\u6ee4\u5668<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">INCLUDE<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u76ee\u6807\u7531 RequestDispatcher.include() \u8bbf\u95ee<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u9664\u6b64\u4e4b\u5916\u4e0d\u8c03\u7528<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">FORWARD<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u76ee\u6807\u7531 RequestDispatcher.forward() \u8bbf\u95ee<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u9664\u6b64\u4e4b\u5916\u4e0d\u8c03\u7528<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">ERROR<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u58f0\u660e\u5f0f\u5f02\u5e38\u5904\u7406\u673a\u5236\u8f6c\u5230\u8be5\u8d44\u6e90<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u9664\u6b64\u4e4b\u5916\u4e0d\u8c03\u7528<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin: 1em 0px;\">Web \u76d1\u542c\u5668\u53c2\u89c1\uff1a<a title=\"Permalink to \u5982\u4f55\u4f7f\u7528\u76d1\u542c\u5668Servlet\" href=\"https:\/\/ai.zhousir.top\/?p=630\" rel=\"bookmark\" style=\"color: #4870ac; text-decoration: underline;\">\u5982\u4f55\u4f7f\u7528\u76d1\u542c\u5668Servlet<\/a>\u3002<\/p>\n<blockquote style=\"display: block; font-size: 0.9em; border-left: 3px solid #4870ac; padding: 0.5em 1em; margin: 0px; background: #f6f8fa; color: #40464f;\">\n<p style=\"margin: 1em 0px;\"><strong style=\"color: #4870ac;\">\u4e00\u53e5\u8bdd\u603b\u7ed3\uff1a\u8fc7\u6ee4\u5668\u5361\u5728\u8bf7\u6c42\u524d\u540e\uff1a\u8bb0\u5f97 chain.doFilter()\uff0c\u5e76\u7528 dispatcher \u5206\u6e05\u76f4\u63a5\u8bbf\u95ee\u3001\u8f6c\u53d1\u3001\u5305\u542b\u548c\u9519\u8bef\u9875\u3002<\/strong><\/p>\n<\/blockquote>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>\u8fc7\u6ee4\u5668\uff08Filter\uff09\u662f\u670d\u52a1\u7aef\u5b9e\u73b0 javax.servlet.Filter \u7684 Java \u7c7b\uff0c\u7528\u6765\u622a\u53d6\u5ba2\u6237\u7aef [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[60],"tags":[183,182],"_links":{"self":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/1791"}],"collection":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1791"}],"version-history":[{"count":3,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/1791\/revisions"}],"predecessor-version":[{"id":1809,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/1791\/revisions\/1809"}],"wp:attachment":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1791"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1791"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}