{"id":2158,"date":"2023-06-20T17:12:15","date_gmt":"2023-06-20T09:12:15","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=2158"},"modified":"2023-06-20T17:12:15","modified_gmt":"2023-06-20T09:12:15","slug":"spring%ef%bc%9a%e4%bb%8e%e4%b8%89%e7%ba%a7%e7%bc%93%e5%ad%98%e7%bb%93%e6%9e%84%e4%b8%ad%e8%8e%b7%e5%8f%96%e5%8d%95%e4%be%8bbean","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/spring\/spring%ef%bc%9a%e4%bb%8e%e4%b8%89%e7%ba%a7%e7%bc%93%e5%ad%98%e7%bb%93%e6%9e%84%e4%b8%ad%e8%8e%b7%e5%8f%96%e5%8d%95%e4%be%8bbean\/","title":{"rendered":"Spring\uff1a\u4ece\u4e09\u7ea7\u7f13\u5b58\u7ed3\u6784\u4e2d\u83b7\u53d6\u5355\u4f8bBean"},"content":{"rendered":"<div class=\"wxsyncmain\">\n<h2><span style=\"font-size: 24px;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171028845.jpeg\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-ratio=\"0.6283333333333333\" data-type=\"jpeg\" data-w=\"1200\" \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171028845.jpeg\" data-ratio=\"0.6283333333333333\" data-type=\"jpeg\" data-w=\"1200\" \/><\/noscript><\/span><\/h2>\n<h2><span style=\"font-size: 24px;\">\u4e09\u7ea7\u7f13\u5b58\u7ed3\u6784\uff1a<\/span><\/h2>\n<ul class=\"list-paddingleft-1\">\n<li>\u4ee3\u7801\u6e05\u53552-17\u3000DefaultSingletonBeanRegistry\u4e2d\u7684\u4e09\u7ea7\u7f13\u5b58Map\u5b9a\u4e49\u4ee3\u7801<\/li>\n<\/ul>\n<section class=\"code-snippet__fix code-snippet__js\">\n<pre class=\"code-snippet__js\" data-lang=\"javascript\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">\/** \u5355\u4f8b\u5bf9\u8c61\u7684\u7f13\u5b58: bean name --&gt; bean instance *\/<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">\nprivate final <span class=\"code-snippet__built_in\">Map<\/span>&lt;<span class=\"code-snippet__built_in\">String<\/span>, <span class=\"code-snippet__built_in\">Object<\/span>&gt; singletonObjects = <span class=\"code-snippet__keyword\">new<\/span> ConcurrentHashMap&lt;&gt;(<span class=\"code-snippet__number\">256<\/span>);<\/span><\/code><code><span class=\"code-snippet_outer\">\n<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">\/** \u63d0\u524d\u66b4\u9732\u7684\u5355\u4f8b\u5bf9\u8c61\u7684\u7f13\u5b58: bean name --&gt; bean instance *\/<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">\nprivate final <span class=\"code-snippet__built_in\">Map<\/span>&lt;<span class=\"code-snippet__built_in\">String<\/span>, <span class=\"code-snippet__built_in\">Object<\/span>&gt; earlySingletonObjects = <span class=\"code-snippet__keyword\">new<\/span> HashMap&lt;&gt;(<span class=\"code-snippet__number\">16<\/span>);<\/span><\/code><code><span class=\"code-snippet_outer\">\n<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\">\/** \u5355\u4f8b\u5bf9\u8c61\u5de5\u5382\u7684\u7f13\u5b58: bean name --&gt; ObjectFactory*\/<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">\nprivate final <span class=\"code-snippet__built_in\">Map<\/span>&lt;<span class=\"code-snippet__built_in\">String<\/span>, ObjectFactory&lt;?&gt;&gt; singletonFactories = <span class=\"code-snippet__keyword\">new<\/span> HashMap&lt;&gt;(<span class=\"code-snippet__number\">16<\/span>);<\/span><\/code><\/pre>\n<\/section>\n<h2><span style=\"font-size: 24px;\">getSingleton()\u65b9\u6cd5\u5206\u6790\uff1a<\/span><\/h2>\n<p>\u5728bean\u7684\u52a0\u8f7d\u8fc7\u7a0b\u4e2d\uff0c\u5355\u4f8b\u5728Spring\u7684\u540c\u4e00\u5bb9\u5668\u5185\u53ea\u4f1a\u88ab\u521b\u5efa<span style=\"background-color: #fffaa5;\">\u4e00\u6b21<\/span>\uff0c\u540e\u7eed\u518d\u83b7\u53d6bean\u76f4\u63a5\u4ece\u5355\u4f8b<span style=\"background-color: #fffaa5;\">\u7f13\u5b58<\/span>\u4e2d\u83b7\u53d6\u3002<\/p>\n<p>\u5c1d\u8bd5\u52a0\u8f7d\u5b9e\u4f8b\u7684\u987a\u5e8f\uff1a<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<pre class=\"code-snippet__js\" data-lang=\"nginx\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attribute\">singletonObjects<\/span> -&gt; earlySingletonObjects -&gt; singletonFactories<\/span><\/code><\/pre>\n<\/section>\n<p>\u5c1d\u8bd5\u52a0\u8f7d\u5b9e\u4f8b\u7684\u539f\u5219\uff1a<span style=\"background-color: #fffaa5;\">\u5c06\u521b\u5efabean\u7684ObjectFactory\u63d0\u65e9\u66dd\u5149\u52a0\u5165\u5230\u7f13\u5b58<\/span>\u4e2d\uff0c\u4e00\u65e6\u4e0b\u4e00\u4e2abean\u521b\u5efa\u65f6\u9700\u8981\u4f9d\u8d56\u4e0a\u4e2abean\uff0c\u5219\u76f4\u63a5\u4f7f\u7528ObjectFactory<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171030426.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-galleryid=\"\" data-ratio=\"0.8836662749706228\" data-s=\"300,640\" data-type=\"png\" data-w=\"1702\" \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171030426.png\" data-galleryid=\"\" data-ratio=\"0.8836662749706228\" data-s=\"300,640\" data-type=\"png\" data-w=\"1702\" \/><\/noscript><\/p>\n<blockquote class=\"js_blockquote_wrap\" data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"300\" data-source-title=\"\u300aSpring\u6e90\u7801\u6df1\u5ea6\u89e3\u6790\uff08\u7b2c2\u7248\uff09\u300b\">\n<section class=\"js_blockquote_digest\">\u9996\u5148\u5c1d\u8bd5\u4ecesingletonObjects\u91cc\u9762\u83b7\u53d6\u5b9e\u4f8b\uff0c\u5982\u679c\u83b7\u53d6\u4e0d\u5230\u518d\u4eceearlySingleton- Objects\u91cc\u9762\u83b7\u53d6\uff0c\u5982\u679c\u8fd8\u83b7\u53d6\u4e0d\u5230\uff0c\u518d\u5c1d\u8bd5\u4ecesingletonFactories\u91cc\u9762\u83b7\u53d6beanName\u5bf9\u5e94\u7684ObjectFactory\uff0c\u7136\u540e\u8c03\u7528\u8fd9\u4e2aObjectFactory\u7684getObject\u6765\u521b\u5efabean\uff0c\u5e76\u653e\u5230earlySingleton-Objects\u91cc\u9762\u53bb\uff0c\u5e76\u4e14\u4ecesingletonFacotories\u91cc\u9762remove\u6389\u8fd9\u4e2aObjectFactory\uff0c\u800c\u5bf9\u4e8e\u540e\u7eed\u7684\u6240\u6709\u5185\u5b58\u64cd\u4f5c\u90fd\u53ea\u4e3a\u4e86\u5faa\u73af\u4f9d\u8d56\u68c0\u6d4b\u65f6\u5019\u4f7f\u7528\uff0c\u4e5f\u5c31\u662f\u5728allowEarlyReference\u4e3atrue\u7684\u60c5\u51b5\u4e0b\u624d\u4f1a\u4f7f\u7528\u3002<\/p>\n<\/section>\n<section class=\"blockquote_info js_blockquote_source\" data-json=\"%7B%22type%22%3A%22out%22%2C%22source%22%3A%22url%22%2C%22digest%22%3A%22%3Cp%3E%E9%A6%96%E5%85%88%E5%B0%9D%E8%AF%95%E4%BB%8EsingletonObjects%E9%87%8C%E9%9D%A2%E8%8E%B7%E5%8F%96%E5%AE%9E%E4%BE%8B%EF%BC%8C%E5%A6%82%E6%9E%9C%E8%8E%B7%E5%8F%96%E4%B8%8D%E5%88%B0%E5%86%8D%E4%BB%8EearlySingleton-%26nbsp%3BObjects%E9%87%8C%E9%9D%A2%E8%8E%B7%E5%8F%96%EF%BC%8C%E5%A6%82%E6%9E%9C%E8%BF%98%E8%8E%B7%E5%8F%96%E4%B8%8D%E5%88%B0%EF%BC%8C%E5%86%8D%E5%B0%9D%E8%AF%95%E4%BB%8EsingletonFactories%E9%87%8C%E9%9D%A2%E8%8E%B7%E5%8F%96beanName%E5%AF%B9%E5%BA%94%E7%9A%84ObjectFactory%EF%BC%8C%E7%84%B6%E5%90%8E%E8%B0%83%E7%94%A8%E8%BF%99%E4%B8%AAObjectFactory%E7%9A%84getObject%E6%9D%A5%E5%88%9B%E5%BB%BAbean%EF%BC%8C%E5%B9%B6%E6%94%BE%E5%88%B0earlySingleton-Objects%E9%87%8C%E9%9D%A2%E5%8E%BB%EF%BC%8C%E5%B9%B6%E4%B8%94%E4%BB%8EsingletonFacotories%E9%87%8C%E9%9D%A2remove%E6%8E%89%E8%BF%99%E4%B8%AAObjectFactory%EF%BC%8C%E8%80%8C%E5%AF%B9%E4%BA%8E%E5%90%8E%E7%BB%AD%E7%9A%84%E6%89%80%E6%9C%89%E5%86%85%E5%AD%98%E6%93%8D%E4%BD%9C%E9%83%BD%E5%8F%AA%E4%B8%BA%E4%BA%86%E5%BE%AA%E7%8E%AF%E4%BE%9D%E8%B5%96%E6%A3%80%E6%B5%8B%E6%97%B6%E5%80%99%E4%BD%BF%E7%94%A8%EF%BC%8C%E4%B9%9F%E5%B0%B1%E6%98%AF%E5%9C%A8allowEarlyReference%E4%B8%BAtrue%E7%9A%84%E6%83%85%E5%86%B5%E4%B8%8B%E6%89%8D%E4%BC%9A%E4%BD%BF%E7%94%A8%E3%80%82%3C%2Fp%3E%22%2C%22digestLen%22%3A300%2C%22text%22%3A%22%22%2C%22article%22%3A%7B%7D%2C%22hasReportOverSize%22%3Afalse%2C%22editorReportData%22%3A%5B%7B%22id%22%3A%22122333%22%2C%22key%22%3A%2275%22%2C%22len%22%3A1%7D%2C%7B%22id%22%3A%22122333%22%2C%22key%22%3A%2276%22%2C%22len%22%3A2%7D%5D%2C%22from%22%3A%22%E3%80%8ASpring%E6%BA%90%E7%A0%81%E6%B7%B1%E5%BA%A6%E8%A7%A3%E6%9E%90%EF%BC%88%E7%AC%AC2%E7%89%88%EF%BC%89%E3%80%8B%22%7D\"><span class=\"blockquote_other\">\u300aSpring\u6e90\u7801\u6df1\u5ea6\u89e3\u6790\uff08\u7b2c2\u7248\uff09\u300b<\/span><\/section>\n<\/blockquote>\n<blockquote class=\"js_blockquote_wrap\" data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"299\" data-source-title=\"\u300aSpring\u6e90\u7801\u6df1\u5ea6\u89e3\u6790\uff08\u7b2c2\u7248\uff09\u300b\">\n<section class=\"js_blockquote_digest\">singletonObjects\uff1a\u7528\u4e8e\u4fdd\u5b58BeanName\u548c\u521b\u5efabean\u5b9e\u4f8b\u4e4b\u95f4\u7684\u5173\u7cfb\uff0cbean name --&gt; bean instance\u3002singletonFactories\uff1a\u7528\u4e8e\u4fdd\u5b58BeanName\u548c\u521b\u5efabean\u7684\u5de5\u5382\u4e4b\u95f4\u7684\u5173\u7cfb\uff0cbean name --&gt; ObjectFactory\u3002earlySingletonObjects\uff1a\u4fdd\u5b58BeanName\u548c\u521b\u5efabean\u5b9e\u4f8b\u4e4b\u95f4\u7684\u5173\u7cfb\uff0c\u5f53\u4e00\u4e2a\u5355\u4f8bbean\u88ab\u653e\u5230\u8fd9\u91cc\u9762\u540e\uff0c\u90a3\u4e48\u5f53bean\u8fd8\u5728\u521b\u5efa\u8fc7\u7a0b\u4e2d\uff0c\u5c31\u53ef\u4ee5\u901a\u8fc7getBean\u65b9\u6cd5\u83b7\u53d6\u5230\u4e86\uff0c\u5176\u76ee\u7684\u662f\u7528\u6765\u68c0\u6d4b\u5faa\u73af\u5f15\u7528\u3002registeredSingletons\uff1a\u7528\u6765\u4fdd\u5b58\u5f53\u524d\u6240\u6709\u5df2\u6ce8\u518c\u7684bean\u3002<\/p>\n<\/section>\n<section class=\"blockquote_info js_blockquote_source\" data-json=\"%7B%22type%22%3A%22out%22%2C%22source%22%3A%22url%22%2C%22digest%22%3A%22%3Cp%3EsingletonObjects%EF%BC%9A%E7%94%A8%E4%BA%8E%E4%BF%9D%E5%AD%98BeanName%E5%92%8C%E5%88%9B%E5%BB%BAbean%E5%AE%9E%E4%BE%8B%E4%B9%8B%E9%97%B4%E7%9A%84%E5%85%B3%E7%B3%BB%EF%BC%8Cbean%26nbsp%3Bname%26nbsp%3B--%26gt%3B%26nbsp%3Bbean%26nbsp%3Binstance%E3%80%82%5CnsingletonFactories%EF%BC%9A%E7%94%A8%E4%BA%8E%E4%BF%9D%E5%AD%98BeanName%E5%92%8C%E5%88%9B%E5%BB%BAbean%E7%9A%84%E5%B7%A5%E5%8E%82%E4%B9%8B%E9%97%B4%E7%9A%84%E5%85%B3%E7%B3%BB%EF%BC%8Cbean%26nbsp%3Bname%26nbsp%3B--%26gt%3B%26nbsp%3BObjectFactory%E3%80%82%5CnearlySingletonObjects%EF%BC%9A%E4%BF%9D%E5%AD%98BeanName%E5%92%8C%E5%88%9B%E5%BB%BAbean%E5%AE%9E%E4%BE%8B%E4%B9%8B%E9%97%B4%E7%9A%84%E5%85%B3%E7%B3%BB%EF%BC%8C%E5%BD%93%E4%B8%80%E4%B8%AA%E5%8D%95%E4%BE%8Bbean%E8%A2%AB%E6%94%BE%E5%88%B0%E8%BF%99%E9%87%8C%E9%9D%A2%E5%90%8E%EF%BC%8C%E9%82%A3%E4%B9%88%E5%BD%93bean%E8%BF%98%E5%9C%A8%E5%88%9B%E5%BB%BA%E8%BF%87%E7%A8%8B%E4%B8%AD%EF%BC%8C%E5%B0%B1%E5%8F%AF%E4%BB%A5%E9%80%9A%E8%BF%87getBean%E6%96%B9%E6%B3%95%E8%8E%B7%E5%8F%96%E5%88%B0%E4%BA%86%EF%BC%8C%E5%85%B6%E7%9B%AE%E7%9A%84%E6%98%AF%E7%94%A8%E6%9D%A5%E6%A3%80%E6%B5%8B%E5%BE%AA%E7%8E%AF%E5%BC%95%E7%94%A8%E3%80%82%5CnregisteredSingletons%EF%BC%9A%E7%94%A8%E6%9D%A5%E4%BF%9D%E5%AD%98%E5%BD%93%E5%89%8D%E6%89%80%E6%9C%89%E5%B7%B2%E6%B3%A8%E5%86%8C%E7%9A%84bean%E3%80%82%3C%2Fp%3E%22%2C%22digestLen%22%3A299%2C%22text%22%3A%22%22%2C%22article%22%3A%7B%7D%2C%22hasReportOverSize%22%3Atrue%2C%22editorReportData%22%3A%5B%7B%22id%22%3A%22122333%22%2C%22key%22%3A%2276%22%2C%22len%22%3A1%7D%5D%2C%22from%22%3A%22%E3%80%8ASpring%E6%BA%90%E7%A0%81%E6%B7%B1%E5%BA%A6%E8%A7%A3%E6%9E%90%EF%BC%88%E7%AC%AC2%E7%89%88%EF%BC%89%E3%80%8B%22%7D\"><span class=\"blockquote_other\">\u300aSpring\u6e90\u7801\u6df1\u5ea6\u89e3\u6790\uff08\u7b2c2\u7248\uff09\u300b<\/span><\/section>\n<\/blockquote>\n<p><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171040426.jpeg\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-ratio=\"1.5\" data-type=\"jpeg\" data-w=\"800\" \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171040426.jpeg\" data-ratio=\"1.5\" data-type=\"jpeg\" data-w=\"800\" \/><\/noscript><\/p>\n<p style=\"display: none;\">\n<blockquote><p>\u672c\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7: \u6d77\u76d0\u67b6\u6784\u7b14\u8bb0<\/p><\/blockquote>\n<\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u4e09\u7ea7\u7f13\u5b58\u7ed3\u6784\uff1a \u4ee3\u7801\u6e05\u53552-17\u3000DefaultSingletonBeanRegistry\u4e2d\u7684\u4e09\u7ea7\u7f13\u5b58Map\u5b9a\u4e49\u4ee3\u7801 \/** \u5355\u4f8b &#8230;<\/p>\n","protected":false},"author":1,"featured_media":2154,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[6],"tags":[],"class_list":["post-2158","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-spring"],"post_thumbnail_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171026788-150x150.jpeg","content_first_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171028845.jpeg","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171026788-300x128.jpeg","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171026788.jpeg","post_frist_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171028845.jpeg","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171026788-300x128.jpeg","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171026788.jpeg","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171026788.jpeg","post_all_images":[{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171028845.jpeg","id":"image0"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171028845.jpeg","id":"image1"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171030426.png","id":"image2"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171030426.png","id":"image3"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171040426.jpeg","id":"image4"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230620171040426.jpeg","id":"image5"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"Spring","post_date":"2023-06-20","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":412,"next_post_id":1945,"next_post_title":"\u5229\u7528Spring\u5b9e\u73b0\u7b56\u7565\u6a21\u5f0f","previous_post_id":2151,"previous_post_title":"Demo|Spring\uff1a\u57fa\u4e8eSetter\u65b9\u6cd5\u6ce8\u5165\u7684\u5faa\u73af\u4f9d\u8d56\u573a\u666f","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/2158","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=2158"}],"version-history":[{"count":0,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/2158\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media\/2154"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=2158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=2158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=2158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}