{"id":5221,"date":"2024-08-01T22:47:42","date_gmt":"2024-08-01T14:47:42","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=5221"},"modified":"2024-08-01T22:47:42","modified_gmt":"2024-08-01T14:47:42","slug":"%e4%b8%80%e6%96%87%e6%90%9e%e6%87%82-spring-%e5%be%aa%e7%8e%af%e4%be%9d%e8%b5%96","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/spring-boot\/%e4%b8%80%e6%96%87%e6%90%9e%e6%87%82-spring-%e5%be%aa%e7%8e%af%e4%be%9d%e8%b5%96\/","title":{"rendered":"\u4e00\u6587\u641e\u61c2 Spring \u5faa\u73af\u4f9d\u8d56"},"content":{"rendered":"<div class='wxsyncmain'>\n<section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" style=\"margin-bottom: 0px;padding-left: 10px;padding-right: 10px;background-attachment: scroll;background-clip: border-box;background-image: linear-gradient(90deg, rgba(50, 0, 0, 0.03) 0%, rgba(255, 255, 255, 0) 11.49%), linear-gradient(360deg, rgba(50, 0, 0, 0.04) 0%, rgba(255, 255, 255, 0) 12.16%);background-origin: padding-box;background-position: 0% 0%;background-repeat: repeat, repeat;background-size: 20px 20px, 20px 20px;width: auto;font-family: Optima, PingFangSC-light, serif;font-size: 16px;color: rgb(0, 0, 0);line-height: 1.5em;word-spacing: 0em;letter-spacing: 0em;word-break: break-word;text-align: left;\" data-mpa-powered-by=\"yiban.io\">\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(43, 43, 43);font-size: 14px;line-height: 1.8em;letter-spacing: 0.02em;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;\">\u8fd9\u4e2a\u5176\u5b9e\u662f\u4e00\u4e2a\u7279\u522b\u9ad8\u9891\u7684\u9762\u8bd5\u9898\uff0c\u677e\u54e5\u4e5f\u4e00\u76f4\u5f88\u60f3\u548c\u5927\u5bb6\u4ed4\u7ec6\u6765\u804a\u4e00\u804a\u8fd9\u4e2a\u8bdd\u9898\uff0c\u7f51\u4e0a\u5173\u4e8e\u8fd9\u5757\u7684\u6587\u7ae0\u5f88\u591a\uff0c\u4f46\u662f\u6211\u4e00\u76f4\u89c9\u5f97\u8981\u628a\u8fd9\u4e2a\u95ee\u9898\u8bb2\u6e05\u695a\u8fd8\u6709\u70b9\u96be\u5ea6\uff0c\u4eca\u5929\u6211\u6765\u8bd5\u4e00\u8bd5\uff0c\u770b\u80fd\u4e0d\u80fd\u548c\u5c0f\u4f19\u4f34\u4eec\u628a\u8fd9\u4e2a\u95ee\u9898\u68b3\u7406\u6e05\u695a\uff0c\u5f53\u7136\uff0c\u5982\u679c\u5c0f\u4f19\u4f34\u4eec\u89c9\u5f97\u770b\u6587\u7ae0\u4e0d\u8fc7\u763e\uff0c\u677e\u54e5\u4e5f\u6709 Spring \u6e90\u7801\u5206\u6790\u7684\u89c6\u9891\u6559\u7a0b\uff0c\u6233\u8fd9\u91cc\uff1a<a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzI1NDY0MTkzNQ==&amp;mid=2247506361&amp;idx=1&amp;sn=f787d8c7bcc946c9337ab0e20f920bef&amp;scene=21#wechat_redirect\" style=\"color: rgb(64, 184, 250);font-weight: bold;border-style: none none solid;border-width: 1px;border-color: rgb(30, 107, 184) rgb(30, 107, 184) rgb(59, 170, 250);border-radius: 0px;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u6700\u65b0\u7248 Spring \u6e90\u7801\u89c6\u9891\u6559\u7a0b<\/a>\u3002<\/p>\n<h1 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;display: flex;\"><span style=\"display: none;\"><\/span><span style=\"font-size: 24px;color: rgb(64, 184, 250);line-height: 1.5em;letter-spacing: 0em;font-weight: bold;display: block;\">\u4e00 \u5faa\u73af\u4f9d\u8d56<\/span><span style=\"display: none;\"><\/span><\/h1>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\" border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(64, 184, 250);margin-top: 30px;margin-bottom: 15px;align-items: unset;background-attachment: scroll;background-clip: border-box;background-image: none;background-origin: padding-box;background-position: 0% 0%;background-repeat: no-repeat;background-size: auto;border-style: none none solid;border-width: 1px 1px 4px;border-radius: 0px;box-shadow: none;flex-direction: unset;float: unset;height: auto;justify-content: unset;line-height: 1.5em;overflow: unset; text-shadow: none;transform: none;width: auto;-webkit-box-reflect: unset; \"><span style=\"background-attachment: scroll;background-clip: border-box;background-image: url('https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215912927.png');background-origin: padding-box;background-position: 0% 0%;background-repeat: no-repeat;background-size: 20px 20px;width: 20px;height: 20px;align-items: unset;border-style: none;border-width: 1px;border-color: rgb(0, 0, 0);border-radius: 0px;box-shadow: none;display: flex;font-size: 22px;font-weight: bold;flex-direction: unset;float: unset;justify-content: unset;letter-spacing: 0px;line-height: 1.5em;margin-bottom: -25px;overflow: unset; text-indent: 0em;text-shadow: none;transform: none;-webkit-box-reflect: unset;\"><\/span><span style=\" font-size: 20px;color: rgb(64, 184, 250);line-height: 1.5em;letter-spacing: 0em;align-items: unset;background-attachment: scroll;background-clip: border-box;background-image: none;background-origin: padding-box;background-position: 0% 0%;background-repeat: no-repeat;background-size: auto;border-style: none;border-width: 1px;border-color: rgb(0, 0, 0);border-radius: 0px;box-shadow: none;display: flex;font-weight: bold;flex-direction: unset;float: unset;height: auto;justify-content: unset;margin-left: 25px;overflow: unset; text-indent: 0em;text-shadow: none;transform: none;width: auto;-webkit-box-reflect: unset; \">1.1 \u4ec0\u4e48\u662f\u5faa\u73af\u4f9d\u8d56<\/span><span style=\" background: none 0% 0% \/ auto no-repeat scroll padding-box border-box rgba(64, 184, 250, 0.5);align-items: unset;border-style: none;border-width: 1px;border-color: rgb(0, 0, 0);border-radius: 20px 0px 0px;box-shadow: none;display: flex;font-size: 22px;font-weight: bold;flex-direction: unset;float: right;height: 10px;justify-content: unset;letter-spacing: 0px;line-height: 1.5em;margin-top: -10px;overflow: unset; text-indent: 0em;text-shadow: none;transform: none;width: 200px;-webkit-box-reflect: unset; \"><\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(43, 43, 43);font-size: 14px;line-height: 1.8em;letter-spacing: 0.02em;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;\">\u9996\u5148\uff0c\u4ec0\u4e48\u662f\u5faa\u73af\u4f9d\u8d56\uff1f\u8fd9\u4e2a\u5176\u5b9e\u597d\u7406\u89e3\uff0c\u5c31\u662f\u4e24\u4e2a Bean \u4e92\u76f8\u4f9d\u8d56\uff0c\u7c7b\u4f3c\u4e0b\u9762\u8fd9\u6837\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;margin-top: 10px;margin-bottom: 10px;\"><span style=\"display: block;background: url(&quot;https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215957360.jpeg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 100%;margin-bottom: -7px;border-radius: 5px;\"><\/span><code style=\"\"><span style=\"line-height: 26px;\"><span style=\"color: #c678dd;line-height: 26px;\">private<\/span>Object<span style=\"color: #61aeee;line-height: 26px;\">buildLazyResolutionProxy<\/span><span style=\"line-height: 26px;\">(<span style=\"color: #c678dd;line-height: 26px;\">final<\/span>DependencyDescriptordescriptor,<span style=\"color: #c678dd;line-height: 26px;\">final<\/span>@NullableStringbeanName,<span style=\"color: #c678dd;line-height: 26px;\">boolean<\/span>classOnly)<\/span><\/span>{BeanFactorybeanFactory=getBeanFactory();<span style=\"color: #c678dd;line-height: 26px;\">final<\/span>DefaultListableBeanFactorydlbf=(DefaultListableBeanFactory)beanFactory;TargetSourcets=<span style=\"color: #c678dd;line-height: 26px;\">new<\/span>TargetSource(){<span style=\"color: #61aeee;line-height: 26px;\">@Override<\/span><span style=\"color: #c678dd;line-height: 26px;\">public<\/span>Class&lt;?&gt;getTargetClass(){<span style=\"color: #c678dd;line-height: 26px;\">return<\/span>descriptor.getDependencyType();}<span style=\"color: #61aeee;line-height: 26px;\">@Override<\/span><span style=\"line-height: 26px;\"><span style=\"color: #c678dd;line-height: 26px;\">public<\/span><span style=\"color: #c678dd;line-height: 26px;\">boolean<\/span><span style=\"color: #61aeee;line-height: 26px;\">isStatic<\/span><span style=\"line-height: 26px;\">()<\/span><\/span>{<span style=\"color: #c678dd;line-height: 26px;\">return<\/span><span style=\"color: #c678dd;line-height: 26px;\">false<\/span>;}<span style=\"color: #61aeee;line-height: 26px;\">@Override<\/span><span style=\"line-height: 26px;\"><span style=\"color: #c678dd;line-height: 26px;\">public<\/span>Object<span style=\"color: #61aeee;line-height: 26px;\">getTarget<\/span><span style=\"line-height: 26px;\">()<\/span><\/span>{Set&lt;String&gt;autowiredBeanNames=(beanName!=<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>?<span style=\"color: #c678dd;line-height: 26px;\">new<\/span>LinkedHashSet&lt;&gt;(<span style=\"color: #d19a66;line-height: 26px;\">1<\/span>):<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>);Objecttarget=dlbf.doResolveDependency(descriptor,beanName,autowiredBeanNames,<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>);<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>(target==<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>){Class&lt;?&gt;type=getTargetClass();<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>(Map<span style=\"line-height: 26px;\">.<span style=\"color: #c678dd;line-height: 26px;\">class<\/span><\/span>==type){<span style=\"color: #c678dd;line-height: 26px;\">return<\/span>Collections.emptyMap();}<span style=\"color: #c678dd;line-height: 26px;\">else<\/span><span style=\"color: #c678dd;line-height: 26px;\">if<\/span>(List<span style=\"line-height: 26px;\">.<span style=\"color: #c678dd;line-height: 26px;\">class<\/span><\/span>==type){<span style=\"color: #c678dd;line-height: 26px;\">return<\/span>Collections.emptyList();}<span style=\"color: #c678dd;line-height: 26px;\">else<\/span><span style=\"color: #c678dd;line-height: 26px;\">if<\/span>(Set<span style=\"line-height: 26px;\">.<span style=\"color: #c678dd;line-height: 26px;\">class<\/span><\/span>==type||Collection<span style=\"line-height: 26px;\">.<span style=\"color: #c678dd;line-height: 26px;\">class<\/span><\/span>==type){<span style=\"color: #c678dd;line-height: 26px;\">return<\/span>Collections.emptySet();}<span style=\"color: #c678dd;line-height: 26px;\">throw<\/span><span style=\"color: #c678dd;line-height: 26px;\">new<\/span>NoSuchBeanDefinitionException(descriptor.getResolvableType(),<span style=\"color: #98c379;line-height: 26px;\">\"Optionaldependencynotpresentforlazyinjectionpoint\"<\/span>);}<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>(autowiredBeanNames!=<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>){<span style=\"color: #c678dd;line-height: 26px;\">for<\/span>(StringautowiredBeanName:autowiredBeanNames){<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>(dlbf.containsBean(autowiredBeanName)){dlbf.registerDependentBean(autowiredBeanName,beanName);}}}<span style=\"color: #c678dd;line-height: 26px;\">return<\/span>target;}<span style=\"color: #61aeee;line-height: 26px;\">@Override<\/span><span style=\"line-height: 26px;\"><span style=\"color: #c678dd;line-height: 26px;\">public<\/span><span style=\"color: #c678dd;line-height: 26px;\">void<\/span><span style=\"color: #61aeee;line-height: 26px;\">releaseTarget<\/span><span style=\"line-height: 26px;\">(Objecttarget)<\/span><\/span>{}};ProxyFactorypf=<span style=\"color: #c678dd;line-height: 26px;\">new<\/span>ProxyFactory();pf.setTargetSource(ts);Class&lt;?&gt;dependencyType=descriptor.getDependencyType();<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>(dependencyType.isInterface()){pf.addInterface(dependencyType);}ClassLoaderclassLoader=dlbf.getBeanClassLoader();<span style=\"color: #c678dd;line-height: 26px;\">return<\/span>(classOnly?pf.getProxyClass(classLoader):pf.getProxy(classLoader));}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(43, 43, 43);font-size: 14px;line-height: 1.8em;letter-spacing: 0.02em;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;\">\u8fd9\u4e2a\u65b9\u6cd5\u5c31\u662f\u7528\u6765\u751f\u6210\u4ee3\u7406\u7684\u5bf9\u8c61\u7684\uff0c\u8fd9\u91cc\u6784\u5efa\u4e86\u4ee3\u7406\u5bf9\u8c61 TargetSource\uff0c\u5728\u5176 getTarget \u65b9\u6cd5\u4e2d\uff0c\u4f1a\u53bb\u6267\u884c doResolveDependency \u83b7\u53d6\u5230\u88ab\u4ee3\u7406\u7684\u5bf9\u8c61\uff08doResolveDependency \u7684\u83b7\u53d6\u903b\u8f91\u53ef\u4ee5\u53c2\u8003 <a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzI1NDY0MTkzNQ==&amp;mid=2247506361&amp;idx=1&amp;sn=f787d8c7bcc946c9337ab0e20f920bef&amp;scene=21#wechat_redirect\" style=\"color: rgb(64, 184, 250);font-weight: bold;border-style: none none solid;border-width: 1px;border-color: rgb(30, 107, 184) rgb(30, 107, 184) rgb(59, 170, 250);border-radius: 0px;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u6700\u65b0\u7248 Spring \u6e90\u7801\u89c6\u9891\u6559\u7a0b<\/a>\uff09\uff0c\u800c getTarget \u65b9\u6cd5\u53ea\u6709\u5728\u9700\u8981\u7684\u65f6\u5019\u624d\u4f1a\u88ab\u8c03\u7528\u3002\u6240\u4ee5\uff0c@Lazy \u6ce8\u89e3\u6240\u505a\u7684\u4e8b\u60c5\uff0c\u5c31\u662f\u5728\u7ed9 Bean \u4e2d\u7684\u5404\u4e2a\u5c5e\u6027\u6ce8\u5165\u503c\u7684\u65f6\u5019\uff0c\u539f\u672c\u9700\u8981\u53bb Spring \u5bb9\u5668\u4e2d\u627e\u6ce8\u5165\u7684\u5bf9\u8c61\uff0c\u73b0\u5728\u4e0d\u627e\u4e86\uff0c\u5148\u7ed9\u4e00\u4e2a\u4ee3\u7406\u5bf9\u8c61\u9876\u7740\uff0c\u9700\u8981\u7684\u65f6\u5019\u518d\u53bb Spring \u5bb9\u5668\u4e2d\u67e5\u627e\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(43, 43, 43);font-size: 14px;line-height: 1.8em;letter-spacing: 0.02em;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;\">\u540e\u7eed\u7684\u903b\u8f91\u6211\u5c31\u4e0d\u518d\u591a\u8bf4\u4e86\uff0c\u5c0f\u4f19\u4f34\u4eec\u53c2\u8003<a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzI1NDY0MTkzNQ==&amp;mid=2247506361&amp;idx=1&amp;sn=f787d8c7bcc946c9337ab0e20f920bef&amp;scene=21#wechat_redirect\" style=\"color: rgb(64, 184, 250);font-weight: bold;border-style: none none solid;border-width: 1px;border-color: rgb(30, 107, 184) rgb(30, 107, 184) rgb(59, 170, 250);border-radius: 0px;\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u6700\u65b0\u7248 Spring \u6e90\u7801\u89c6\u9891\u6559\u7a0b<\/a>\u5373\u53ef\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(43, 43, 43);font-size: 14px;line-height: 1.8em;letter-spacing: 0.02em;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;\">\u597d\u5566\uff0c\u73b0\u5728\u5c0f\u4f19\u4f34\u4eec\u660e\u767d\u4e86 @Lazy \u6ce8\u89e3\u662f\u5982\u4f55\u89e3\u51b3 Spring \u5faa\u73af\u4f9d\u8d56\u4e86\u5427\uff5e<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"color: rgb(43, 43, 43);font-size: 14px;line-height: 1.8em;letter-spacing: 0.02em;text-indent: 0em;padding-top: 8px;padding-bottom: 8px;\">\u867d\u7136\u89e3\u51b3\u4e86\uff0c\u4f46\u662f\u6211\u4eec\u5728\u65e5\u5e38\u5f00\u53d1\u4e2d\uff0c\u8981\u662f\u80fd\u907f\u514d\u5faa\u73af\u4f9d\u8d56\u8fd8\u662f\u8981\u53bb\u907f\u514d\uff5e<\/p>\n<\/section>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<blockquote>\n<p>\u672c\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7:                 \u6c5f\u5357\u4e00\u70b9\u96e8              <\/p>\n<\/blockquote>\n<\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u4e2a\u5176\u5b9e\u662f\u4e00\u4e2a\u7279\u522b\u9ad8\u9891\u7684\u9762\u8bd5\u9898\uff0c\u677e\u54e5\u4e5f\u4e00\u76f4\u5f88\u60f3\u548c\u5927\u5bb6\u4ed4\u7ec6\u6765\u804a\u4e00\u804a\u8fd9\u4e2a\u8bdd\u9898\uff0c\u7f51\u4e0a\u5173\u4e8e\u8fd9\u5757\u7684\u6587\u7ae0\u5f88\u591a\uff0c\u4f46\u662f\u6211\u4e00\u76f4\u89c9\u5f97\u8981\u628a\u8fd9\u4e2a\u95ee\u9898\u8bb2\u6e05\u695a &#8230;<\/p>\n","protected":false},"author":1,"featured_media":5201,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-5221","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-spring-boot"],"post_thumbnail_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215914628-150x150.jpeg","content_first_image":null,"post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215914628-300x128.jpeg","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215914628-1024x436.jpeg","post_frist_image":null,"post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215914628-300x128.jpeg","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215914628-1024x436.jpeg","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215914628.jpeg","post_all_images":[],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"Spring Boot","post_date":"2024-08-01","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230519082947553.jpg","avatarurls":[],"related_posts":null,"pageviews":351,"next_post_id":5111,"next_post_title":"\u7ebf\u4e0a\u73af\u5883\u51fa\u73b0\u9891\u7e41\u7684Young GC\uff0c\u5982\u4f55\u4f18\u5316\uff1f","previous_post_id":5644,"previous_post_title":"\u89e3\u51b3\u65e5\u5fd7\u5f00\u5173\u9700\u6c42\uff1aSpringBoot \u5b9e\u73b0\u70ed\u63d2\u62d4 AOP","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/5221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/comments?post=5221"}],"version-history":[{"count":1,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/5221\/revisions"}],"predecessor-version":[{"id":6309,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/5221\/revisions\/6309"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media\/5201"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=5221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=5221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=5221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}