{"id":2025,"date":"2017-06-17T14:42:17","date_gmt":"2017-06-17T06:42:17","guid":{"rendered":"https:\/\/ai.zhousir.top\/?p=2025"},"modified":"2026-08-18T11:24:24","modified_gmt":"2026-08-18T03:24:24","slug":"sringboot%e6%8b%a6%e6%88%aa%e5%99%a8%e5%92%8caop%e8%87%aa%e5%ae%9a%e4%b9%89%e8%bf%87%e6%bb%a4%e5%ae%9e%e7%8e%b0","status":"publish","type":"post","link":"https:\/\/ai.zhousir.top\/?p=2025","title":{"rendered":"SringBoot\u62e6\u622a\u5668\u548caop\u81ea\u5b9a\u4e49\u8fc7\u6ee4\u5b9e\u73b0"},"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;\">Spring Boot \u91cc\u81ea\u5b9a\u4e49\u62e6\u622a\u5668\u7684\u5199\u6cd5\u548c SpringMVC \u5f88\u63a5\u8fd1\uff1a\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;\">HandlerInterceptor<\/code>\uff0c\u518d\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;\">WebMvcConfigurerAdapter<\/code> \u7684 <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;\">addInterceptors<\/code> \u91cc\u6302\u5230\u62e6\u622a\u5668\u94fe\u3002\u548c Filter \u4e0d\u540c\uff0c\u62e6\u622a\u5668\u80fd\u78b0\u5230 <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;\">Handler<\/code> \u548c <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;\">ModelAndView<\/code>\uff0c\u66f4\u9002\u5408 Controller \u5c42\u7684\u6a2a\u5207\u3002<\/p>\n<p style=\"margin: 1em 0px;\">\u53e6\u4e00\u6761\u6a2a\u5207\u8def\u5f84\u662f <strong style=\"color: #4870ac;\">AOP<\/strong>\uff1a\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;\">@Aspect<\/code> \u5207 Controller \u65b9\u6cd5\uff0c\u6253 URL\u3001IP\u3001\u53c2\u6570\u548c\u8fd4\u56de\u503c\u65e5\u5fd7\u3002\u62e6\u622a\u5668\u7ba1\u8bf7\u6c42\u94fe\uff0c\u5207\u9762\u7ba1\u65b9\u6cd5\u8c03\u7528\uff0c\u53ef\u4ee5\u4e00\u8d77\u7528\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\u62e6\u622a\u5668\uff1a\u4e09\u6b65\u6302\u5230 SpringMVC<\/h2>\n<ul style=\"padding-left: 1rem; margin-left: 1rem; font-size: 0.9rem; list-style-type: disc;\">\n<li>\n<section>\u521b\u5efa\u62e6\u622a\u5668\u7c7b\uff0c\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;\">HandlerInterceptor<\/code>\u3002<\/section>\n<\/li>\n<li>\n<section>\u518d\u5199\u4e00\u4e2a\u914d\u7f6e\u7c7b\u7ee7\u627f <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;\">WebMvcConfigurerAdapter<\/code>\uff0c\u91cd\u5199 <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;\">addInterceptors<\/code>\u3002<\/section>\n<\/li>\n<li>\n<section>\u5b9e\u4f8b\u5316\u81ea\u5b9a\u4e49\u62e6\u622a\u5668\uff0c\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;\">addInterceptors<\/code> \u91cc\u624b\u52a8\u52a0\u5165\u62e6\u622a\u5668\u94fe\u3002<\/section>\n<\/li>\n<\/ul>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">1. \u5b9a\u4e49\u62e6\u622a\u5668<\/h3>\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;\">@Component(\"myInterceptor1\")\npublic class MyInterceptor1 implements HandlerInterceptor {\n\n    @Override\n    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)\n            throws Exception {\n        System.out.println(\"&gt;&gt;&gt;MyInterceptor1&gt;&gt;&gt;&gt;&gt;&gt;&gt;\u5728\u8bf7\u6c42\u5904\u7406\u4e4b\u524d\u8fdb\u884c\u8c03\u7528\uff08Controller\u65b9\u6cd5\u8c03\u7528\u4e4b\u524d\uff09\");\n        return true; \/\/ \u53ea\u6709\u8fd4\u56de true \u624d\u4f1a\u7ee7\u7eed\u5411\u4e0b\u6267\u884c\uff0c\u8fd4\u56de false \u53d6\u6d88\u5f53\u524d\u8bf7\u6c42\n    }\n\n    @Override\n    public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\n            ModelAndView modelAndView) throws Exception {\n        System.out.println(\"&gt;&gt;&gt;MyInterceptor1&gt;&gt;&gt;&gt;&gt;&gt;&gt;\u8bf7\u6c42\u5904\u7406\u4e4b\u540e\u8fdb\u884c\u8c03\u7528\uff0c\u4f46\u662f\u5728\u89c6\u56fe\u88ab\u6e32\u67d3\u4e4b\u524d\uff08Controller\u65b9\u6cd5\u8c03\u7528\u4e4b\u540e\uff09\");\n    }\n\n    @Override\n    public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex)\n            throws Exception {\n        System.out.println(\"&gt;&gt;&gt;MyInterceptor1&gt;&gt;&gt;&gt;&gt;&gt;&gt;\u5728\u6574\u4e2a\u8bf7\u6c42\u7ed3\u675f\u4e4b\u540e\u88ab\u8c03\u7528\uff0c\u4e5f\u5c31\u662f\u5728DispatcherServlet \u6e32\u67d3\u4e86\u5bf9\u5e94\u7684\u89c6\u56fe\u4e4b\u540e\u6267\u884c\uff08\u4e3b\u8981\u662f\u7528\u4e8e\u8fdb\u884c\u8d44\u6e90\u6e05\u7406\u5de5\u4f5c\uff09\");\n    }\n}<\/code><\/pre>\n<h3 style=\"padding: 0px; color: #4870ac; margin: 1.2em 0px 1em; font-size: 1.3em;\">2. \u7ee7\u627f WebMvcConfigurerAdapter \u6ce8\u518c<\/h3>\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;\">@Configuration\npublic class MyWebAppConfigurer extends WebMvcConfigurerAdapter {\n    @Autowired\n    private MyInterceptor1 myInterceptor1;\n\n    @Override\n    public void addInterceptors(InterceptorRegistry registry) {\n        \/\/ \u591a\u4e2a\u62e6\u622a\u5668\u7ec4\u6210\u4e00\u4e2a\u62e6\u622a\u5668\u94fe\n        \/\/ addPathPatterns \u7528\u4e8e\u6dfb\u52a0\u62e6\u622a\u89c4\u5219\n        \/\/ excludePathPatterns \u7528\u4e8e\u6392\u9664\u62e6\u622a\n        registry.addInterceptor(myInterceptor1).addPathPatterns(\"\/**\");\n        \/\/ registry.addInterceptor(new MyInterceptor2()).addPathPatterns(\"\/**\");\n        super.addInterceptors(registry);\n    }\n}<\/code><\/pre>\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;\">\u56de\u8c03<\/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;\">\u65f6\u673a<\/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;\">\u5e38\u89c1\u7528\u9014<\/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;\"><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;\">preHandle<\/code><\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">Controller \u4e4b\u524d<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u767b\u5f55\u6821\u9a8c\uff1b\u8fd4\u56de false \u4e2d\u65ad<\/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;\"><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;\">postHandle<\/code><\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">Controller \u4e4b\u540e\u3001\u6e32\u67d3\u89c6\u56fe\u524d<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u6539 ModelAndView<\/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;\"><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;\">afterCompletion<\/code><\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u89c6\u56fe\u6e32\u67d3\u5b8c<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u8d44\u6e90\u6e05\u7406<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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\u7528 AOP \u6253\u8bbf\u95ee\u65e5\u5fd7<\/h2>\n<p style=\"margin: 1em 0px;\">\u5207 <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;\">com.ittx.java1608.springbootdemo1.controller<\/code> \u5305\u4e0b\u7684\u6240\u6709\u65b9\u6cd5\uff0c\u8bb0\u5f55 url\u3001method\u3001ip\u3001\u7c7b\u65b9\u6cd5\u540d\u548c\u53c2\u6570\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;\">@Aspect\n@Component\npublic class HttpAspect {\n\n    private final static Logger logger = LoggerFactory.getLogger(HttpAspect.class);\n\n    @Pointcut(\"execution(public * com.ittx.java1608.springbootdemo1.controller.*.*(..))\")\n    public void log() {\n    }\n\n    @Before(\"log()\")\n    public void doBefore(JoinPoint joinPoint) {\n        ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();\n        HttpServletRequest request = attributes.getRequest();\n\n        logger.info(\"url={}\", request.getRequestURL());\n        logger.info(\"method={}\", request.getMethod());\n        logger.info(\"ip={}\", request.getRemoteAddr());\n        logger.info(\"class_method={}\", joinPoint.getSignature().getDeclaringTypeName() + \".\"\n                + joinPoint.getSignature().getName());\n        logger.info(\"args={}\", joinPoint.getArgs());\n    }\n\n    @After(\"log()\")\n    public void doAfter() {\n        logger.info(\"doAfter 222222222222\");\n    }\n\n    @AfterReturning(returning = \"object\", pointcut = \"log()\")\n    public void doAfterReturning(Object object) {\n        logger.info(\"response={}\", object.toString());\n    }\n}<\/code><\/pre>\n<p style=\"margin: 1em 0px;\">\u8bb0\u5f97\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;\">pom.xml<\/code> \u5f15\u5165 AOP starter\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;dependency&gt;\n    &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\n    &lt;artifactId&gt;spring-boot-starter-aop&lt;\/artifactId&gt;\n&lt;\/dependency&gt;<\/code><\/pre>\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\u62e6\u622a\u5668\u6302\u5728 SpringMVC \u94fe\u4e0a\u62e6\u8bf7\u6c42\uff0cAOP \u5207\u5728\u65b9\u6cd5\u4e0a\u8bb0\u65e5\u5fd7\uff1b\u4e24\u8005\u90fd\u8981\u663e\u5f0f\u6ce8\u518c\uff08addInterceptors \/ starter-aop\uff09\uff0c\u7a7a\u4f9d\u8d56\u4e0d\u4f1a\u81ea\u52a8\u751f\u6548\u3002<\/strong><\/p>\n<\/blockquote>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>Spring Boot \u91cc\u81ea\u5b9a\u4e49\u62e6\u622a\u5668\u7684\u5199\u6cd5\u548c SpringMVC \u5f88\u63a5\u8fd1\uff1a\u5b9e\u73b0 HandlerInterce [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[93],"tags":[184,186],"_links":{"self":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/2025"}],"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=2025"}],"version-history":[{"count":1,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/2025\/revisions"}],"predecessor-version":[{"id":2026,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/2025\/revisions\/2026"}],"wp:attachment":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}