{"id":75,"date":"2026-10-09T18:21:19","date_gmt":"2026-10-09T10:21:19","guid":{"rendered":"http:\/\/189.24.78.16\/?p=75"},"modified":"2026-10-13T17:36:54","modified_gmt":"2026-10-13T09:36:54","slug":"springboot%e5%ba%95%e5%b1%82%e5%8e%9f%e7%90%86%ef%bc%9a%e6%a1%86%e6%9e%b6%e5%bc%80%e5%8f%91%e4%b8%ba%e4%bb%80%e4%b9%88%e8%bf%99%e4%b9%88%e7%ae%80%e5%8d%95%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/bkxiaohei123.xyz\/index.php\/2026\/10\/09\/springboot%e5%ba%95%e5%b1%82%e5%8e%9f%e7%90%86%ef%bc%9a%e6%a1%86%e6%9e%b6%e5%bc%80%e5%8f%91%e4%b8%ba%e4%bb%80%e4%b9%88%e8%bf%99%e4%b9%88%e7%ae%80%e5%8d%95%ef%bc%9f\/","title":{"rendered":"springboot\u5e95\u5c42\u539f\u7406\uff1a\u6846\u67b6\u5f00\u53d1\u4e3a\u4ec0\u4e48\u8fd9\u4e48\u7b80\u5355\uff1f"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u5728spring\u5bb6\u65cf\u5f53\u4e2d\u63d0\u4f9b\u4e86\u8bb8\u591a\u6846\u67b6\uff0c\u8fd9\u4e9b\u6846\u67b6\u5168\u90e8\u5efa\u7acb\u5728\u4e00\u4e2a\u57fa\u7840\u6846\u67b6\u4e0a: <strong>Spring Framework <\/strong>,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f46\u82e5\u6211\u4eec\u8981\u4f7f\u7528spring\u5f00\u53d1\uff0c\u5c31\u4f1a\u51fa\u73b0\u5404\u79cd\u7e41\u7410\u73b0\u8c61\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u56e0\u6b64<strong>Spring Boot<\/strong>\u5e94\u8fd0\u800c\u751f,\u7528\u4e8e<strong>\u7b80\u5316\u5f00\u53d1<\/strong>\u3002 \u4f46\u4e5f\u63d0\u51fa\u4e86\u4e00\u4e2a\u5168\u65b0\u7684\u95ee\u9898\uff0cspringboot\u4e3a\u4ec0\u4e48\u80fd\u7b80\u5316\u5f00\u53d1\uff1f \u7b54\u6848\u7684\u539f\u56e0\u4fbf\u662f\u5b83\u7684\u5e95\u5c42\u63d0\u4f9b\u4e86\u4e24\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u529f\u80fd\uff1a<strong>\u8d77\u6b65\u4f9d\u8d56 \u81ea\u52a8\u914d\u7f6e<\/strong>\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8d77\u6b65\u4f9d\u8d56\u80fd\u591f\u5e2e\u52a9\u6211\u4eec\u7b80\u5316\u4f9d\u8d56\u7684\u6dfb\u52a0 \u539f\u7406\u57fa\u4e8e <strong>maven\u7684\u4f9d\u8d56\u4f20\u9012<\/strong>\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u81ea\u52a8\u914d\u7f6e\u662f\u6307\u5f53spring\u5bb9\u5668\u542f\u52a8\u540e\uff0c\u4e00\u4e9b\u914d\u7f6e\u7c7b\uff0cbean\u5bf9\u8c61\u81ea\u52a8\u5b58\u5165IOC\u5bb9\u5668\uff0c\u4e0d\u9700\u8981\u58f0\u660e\uff0c\u4ece\u800c\u7b80\u5316\u5f00\u53d1\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:25px\"><strong>\u81ea\u52a8\u914d\u7f6e\u539f\u7406<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<p class=\"wp-block-paragraph\">\u65b9\u6848\u4e00\uff1a@ComponentScan \u7ec4\u4ef6\u626b\u63cf\u5728 Spring Boot \u4e2d\uff0c\u542f\u52a8\u7c7b\u9ed8\u8ba4\u53ea\u4f1a\u626b\u63cf\u5b83\u81ea\u5df1\u6240\u5728\u5305\u53ca\u5176\u5b50\u5305\u4e0b\u7684\u7ec4\u4ef6\u3002\u5982\u679c\u6211\u4eec\u7684\u9879\u76ee\u7ed3\u6784\u6bd4\u8f83\u590d\u6742\uff0c\u6216\u8005\u5f15\u5165\u4e86\u5916\u90e8\u6a21\u5757\uff08\u6bd4\u5982 <code>com.example<\/code>\uff09\uff0c\u5bfc\u81f4 Bean \u4e0d\u5728\u9ed8\u8ba4\u626b\u63cf\u8303\u56f4\u5185\uff0c\u4f7f\u7528 <code>@ComponentScan<\/code> \u6ce8\u89e3\uff0c<strong>\u624b\u52a8\u544a\u8bc9 Spring \u5bb9\u5668\uff1a\u9664\u4e86\u9ed8\u8ba4\u4f4d\u7f6e\uff0c\u4f60\u8fd8\u8981\u53bb <\/strong>\u522b\u7684<strong>\u5305\u91cc\u627e\u627e\u770b\uff0c\u628a\u91cc\u9762\u7684 Bean \u4e5f\u52a0\u8f7d\u8fdb\u6765\u3002<\/strong><\/p>\n<\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><em>\u4f46\u662f\u8fd9\u4e2a\u65b9\u6848\u4f1a\u5927\u9762\u79ef\u626b\u63cf\u5bfc\u81f4\u6027\u80fd\u8fc7\u4f4e,\u4f7f\u7528\u7e41\u7410\uff0c\u56e0\u6b64\u51fa\u73b0\u65b9\u6848\u4e8c<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u65b9\u6848\u4e8c\uff1a&nbsp;@Import \u5bfc\u5165\u89e3\u6790 \u5982\u679c\u4e0d\u7528 <code>@ComponentScan<\/code>\uff0c\u4e3b\u9879\u76ee\u600e\u4e48\u628a\u5de5\u5177\u5305\u91cc\u7684\u7c7b\u52a0\u8f7d\u5230\u81ea\u5df1\u7684 Spring \u5bb9\u5668\u91cc\u5462\uff1f<br>\u7b54\u6848\u5c31\u662f\uff1a<strong>\u7528 <code>@Import<\/code> \u76f4\u63a5\u201c\u70b9\u540d\u201d\u8981\u8c01\u3002<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">@Import\u6709\u56db\u79cd\u5bfc\u5165\u65b9\u5f0f<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>\u5bfc\u5165\u666e\u901a\u7c7b<\/strong>\uff08\u56fe\u4f8b\uff09\uff1a\u76f4\u63a5\u5199 <code>\u7c7b\u540d.class<\/code>\u3002Spring \u4f1a\u628a\u8fd9\u4e2a\u7c7b\u5b9e\u4f8b\u5316\u5e76\u653e\u5165\u5bb9\u5668\uff08\u5373\u4f7f\u8fd9\u4e2a\u7c7b\u6ca1\u6709\u52a0 <code>@Component<\/code> \u6ce8\u89e3\u4e5f\u80fd\u751f\u6548\uff09\u3002<\/li>\n\n\n\n<li><strong>\u5bfc\u5165\u914d\u7f6e\u7c7b<\/strong>\uff1a\u5982\u679c\u5bfc\u5165\u7684\u662f\u4e00\u4e2a\u52a0\u4e86 <code>@Configuration<\/code> \u7684\u7c7b\uff0c\u90a3\u4e48\u8fd9\u4e2a\u914d\u7f6e\u7c7b\u91cc\u9762\u7684 <code>@Bean<\/code> \u4e5f\u4f1a\u4e00\u5e76\u751f\u6548\u3002<\/li>\n\n\n\n<li><strong>\u5bfc\u5165 <code>ImportSelector<\/code> \u63a5\u53e3\u5b9e\u73b0\u7c7b<\/strong>\uff1a\u8fd9\u662f\u4e00\u79cd\u9ad8\u7ea7\u7528\u6cd5\u3002\u76f8\u5f53\u4e8e\u4f60\u4e0d\u76f4\u63a5\u7ed9\u540d\u5355\uff0c\u800c\u662f\u7ed9 Spring \u4e00\u4e2a\u201c\u4e2d\u4ecb\u201d\uff0c\u8ba9\u8fd9\u4e2a\u4e2d\u4ecb\u53bb\u51b3\u5b9a\u5230\u5e95\u8981\u52a0\u8f7d\u54ea\u4e9b\u7c7b\uff08\u901a\u5e38\u7528\u4e8e\u6839\u636e\u6761\u4ef6\u52a8\u6001\u52a0\u8f7d\uff09\u3002<\/li>\n\n\n\n<li><strong><code>@EnableXxxx<\/code> \u6ce8\u89e3<\/strong>\uff1a\u8fd9\u662f\u5bf9 <code>@Import<\/code> \u7684\u5c01\u88c5\u3002\u6bd4\u5982\u6211\u4eec\u5e38\u89c1\u7684 <code>@EnableCaching<\/code>\u3001<code>@EnableAsync<\/code>\uff0c\u5b83\u4eec\u5e95\u5c42\u5176\u5b9e\u90fd\u662f\u7528\u4e86 <code>@Import<\/code> \u628a\u76f8\u5173\u7684\u914d\u7f6e\u7c7b\u5bfc\u5165\u8fdb\u6765\uff0c\u8ba9\u4f60\u7528\u8d77\u6765\u66f4\u7b80\u5355\u3002<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u8bf4 <code>@ComponentScan<\/code> \u662f\u8ba9 Spring \u53bb\u4e00\u4e2a\u5927\u4ed3\u5e93\u91cc\u81ea\u5df1\u7ffb\u627e\u9700\u8981\u7684\u96f6\u4ef6\uff1b\u90a3\u4e48 <code>@Import<\/code> \u5c31\u662f\u4f60\u76f4\u63a5\u628a\u96f6\u4ef6\u6e05\u5355\u62cd\u5728 Spring \u684c\u5b50\u4e0a\uff0c\u544a\u8bc9\u5b83\uff1a\u522b\u7ffb\u4e86\uff0c\u5c31\u6309\u8fd9\u4e2a\u6e05\u5355\u7ed9\u6211\u7ec4\u88c5<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Spring Boot \u7684\u6838\u5fc3\u5f15\u5bfc\u6ce8\u89e3<\/strong> :@SpringBootApplication , <strong>\u5b83\u901a\u5e38\u88ab\u6807\u6ce8\u5728\u4e3b\u542f\u52a8\u7c7b\u4e0a\uff0c\u7528\u4e8e\u5f00\u542f Spring Boot \u7684\u81ea\u52a8\u914d\u7f6e\u3001\u7ec4\u4ef6\u626b\u63cf\u548c\u914d\u7f6e\u7c7b\u529f\u80fd\u3002<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ece\u6e90\u7801\u4e0a\u53bb\u770b @SpringBootApplication\u5e76\u4e0d\u662f\u5355\u4e00\u6ce8\u89e3\uff0c\u800c\u662f\u4e00\u4e2a<strong>\u590d\u5408\u6ce8\u89e3\uff08\u7ec4\u5408\u6ce8\u89e3\uff09<\/strong>\u3002Spring Boot \u4e3a\u4e86\u7b80\u5316\u6211\u4eec\u7684\u5f00\u53d1\uff0c\u628a\u4e09\u4e2a\u6700\u6838\u5fc3\u7684\u6ce8\u89e3\u201c\u6253\u5305\u201d\u6210\u4e86\u4e00\u4e2a\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7ed3\u5408\u4e0a\u6587\u63d0\u5230\u7684\u4e24\u79cd\u65b9\u6848\uff0c\u6211\u4eec\u4fbf\u53ef\u4ee5\u603b\u7ed3\u51fa\u4e09\u4e2a\u6700\u6838\u5fc3\u6ce8\u89e3\u7684\u5e94\u7528<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><code>@SpringBootConfiguration<\/code><\/strong>:\u5b83\u5176\u5b9e\u5c31\u662f <code>@Configuration<\/code> \u7684\u201c\u9a6c\u7532\u201d\u3002\u5b83\u7684\u4f5c\u7528\u662f\u544a\u8bc9 Spring\uff1a\u201c<strong>\u6211\u662f\u4e00\u4e2a\u914d\u7f6e\u7c7b<\/strong>\u201d\u3002\u8fd9\u610f\u5473\u7740\uff0c\u542f\u52a8\u7c7b\u672c\u8eab\u4e5f\u53ef\u4ee5\u5199 <code>@Bean<\/code> \u6765\u5b9a\u4e49\u7ec4\u4ef6\u3002<strong>\u672c\u8d28\u4e0a\u5c5e\u4e8eJAVA\u914d\u7f6e\u7c7b<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><code>@ComponentScan<\/code><\/strong>:\u8fd9\u5c31\u662f\u6211\u4eec<strong>\u65b9\u6848\u4e00<\/strong>\u91cc\u5b66\u8fc7\u7684\u7ec4\u4ef6\u626b\u63cf,\u5b83\u8d1f\u8d23\u626b\u63cf\u6211\u4eec\u5199\u7684\u4e1a\u52a1\u4ee3\u7801\uff08Controller\u3001Service\u7b49\uff09\uff0c<strong>\u540c\u65f6\u5185\u7f6e\u4e86\u8fc7\u6ee4\u5668<\/strong>,\u5229\u7528 <code>AutoConfigurationExcludeFilter<\/code>\u907f\u514d\u548c\u81ea\u52a8\u914d\u7f6e\u7c7b\u6253\u67b6\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><code>@EnableAutoConfiguration<\/code><\/strong>:\u5e95\u5c42\u901a\u8fc7 <code>@Import<\/code>\uff0c\u5bfc\u5165\u4e86\u4e00\u4e2a\u6781\u5176\u91cd\u8981\u7684\u7c7b\uff08\u53eb <code>AutoConfigurationImportSelector<\/code>),\u5b83\u662f Spring Boot <strong>\u5b9e\u73b0\u81ea\u52a8\u914d\u7f6e\u7684\u6838\u5fc3<\/strong>\u3002\u5b83\u8d1f\u8d23\u53bb\u8bfb\u53d6\u9879\u76ee\u4f9d\u8d56\uff08\u6bd4\u5982\u5f15\u5165\u4e86 <code>spring-boot-starter-web<\/code>\uff09\uff0c\u7136\u540e\u6839\u636e\u4f9d\u8d56\u81ea\u52a8\u5e2e\u4f60\u628a\u9700\u8981\u7684 Bean\uff08\u6bd4\u5982 Tomcat \u914d\u7f6e\u3001SpringMVC \u914d\u7f6e\uff09\u52a0\u8f7d\u5230\u5bb9\u5668\u91cc\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u524d\u9762\u6211\u4eec\u8bb2\u4e86 <code>@ComponentScan<\/code>\uff08\u627e\u81ea\u5bb6\u7684 Bean\uff09\u548c <code>@EnableAutoConfiguration<\/code>\uff08\u5bfc\u5165\u7b2c\u4e09\u65b9\u7684 Bean\uff09\u3002\u90a3\u4e48\u95ee\u9898\u6765\u4e86\uff1a<strong>\u7b2c\u4e09\u65b9\u5e93\uff08\u6bd4\u5982 Redis\u3001MyBatis\uff09\u7684\u81ea\u52a8\u914d\u7f6e\u7c7b\u5168\u90fd\u88ab\u5bfc\u5165\u8fdb\u6765\u4e86\uff0c\u96be\u9053\u4e0d\u7ba1\u7528\u4e0d\u7528\u5f97\u4e0a\uff0cSpring \u90fd\u8981\u628a\u5b83\u4eec\u521b\u5efa\u4e00\u904d\u5417\uff1f<\/strong> \u90a3\u5c82\u4e0d\u662f\u8981\u5185\u5b58\u7206\u70b8\uff1f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u65f6<code style=\"\"><b>@Conditional<\/b><\/code><b>\uff08\u6761\u4ef6\u88c5\u914d\uff09<\/b>\u4fbf\u53d1\u6325\u4e86\u7528\u573a\uff0c\u5b83\u662f\u4e00\u4e2a<strong>\u7236\u6ce8\u89e3<\/strong>\uff0c\u4e0b\u6587\u4f1a\u5217\u4e3e\u4e09\u4e2a\u6700\u5e38\u7528\u7684\u6ce8\u89e3\u4f8b\u5b50<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><code>@ConditionalOnClass<\/code>\uff08\u770b\u5305\u91cc\u6709\u6ca1\u6709\u8fd9\u4e2a\u7c7b\uff09<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5224\u65ad\u5f53\u524d\u9879\u76ee\u7684 classpath\uff08\u7c7b\u8def\u5f84\uff09\u4e0b\uff0c\u662f\u5426\u5b58\u5728\u67d0\u4e2a\u7c7b\u7684\u5b57\u8282\u7801\u6587\u4ef6\uff08<code>.class<\/code>\uff09\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><code>@ConditionalOnMissingBean<\/code>\uff08\u770b\u5bb9\u5668\u91cc\u6709\u6ca1\u6709\u8fd9\u4e2a Bean\uff09<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5224\u65ad Spring \u5bb9\u5668\u91cc\uff0c\u662f\u4e0d\u662f<strong>\u6ca1\u6709<\/strong>\u67d0\u4e2a Bean\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code language-java\" data-wzcbh-download=\"snippet.java\"><code lang=\"java\" class=\"language-java\">@Bean\n@ConditionalOnMissingBean\npublic Gson gson(GsonBuilder gsonBuilder) {\n    return gsonBuilder.create();\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u6bb5\u4ee3\u7801\u5b8c\u7f8e\u8be0\u91ca\u4e86 <code>@ConditionalOnMissingBean<\/code> \u7684\u4f5c\u7528\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5b83\u7684\u610f\u601d\u662f\uff1aSpring \u5728\u51c6\u5907\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a <code>gson<\/code> \u7684 Bean \u65f6\uff0c\u5148\u68c0\u67e5\u4e00\u4e0b\u5bb9\u5668\u91cc\u6709\u6ca1\u6709\u522b\u7684 <code>Gson<\/code> \u5bf9\u8c61\u3002<\/li>\n\n\n\n<li>\u5982\u679c\u6ca1\u6709\uff0c\u5b83\u5c31\u6267\u884c <code>gsonBuilder.create()<\/code> \u521b\u5efa\u4e00\u4e2a\u9ed8\u8ba4\u7684\u3002<\/li>\n\n\n\n<li>\u5982\u679c\u4f60\u5728\u522b\u7684\u914d\u7f6e\u7c7b\u91cc\u81ea\u5df1\u5199\u4e86\u4e00\u4e2a <code>@Bean<\/code> \u8fd4\u56de\u4e86 Gson\uff0c\u90a3\u4e48\u8fd9\u91cc\u5c31\u4e0d\u4f1a\u6267\u884c\u4e86\uff0c\u76f4\u63a5\u628a\u63a7\u5236\u6743\u4ea4\u7ed9\u4f60\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><code>@ConditionalOnProperty<\/code>\uff08\u770b\u914d\u7f6e\u6587\u4ef6\u91cc\u6709\u6ca1\u6709\u8fd9\u4e2a\u5f00\u5173\uff09<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u53bb <code>application.yml<\/code> \u6216 <code>application.properties<\/code> \u91cc\u627e\u627e\uff0c\u6709\u6ca1\u6709\u5bf9\u5e94\u7684\u914d\u7f6e\u9879\uff0c\u5e76\u4e14\u503c\u5bf9\u4e0d\u5bf9\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u81f3\u4e0a\u6211\u4eec\u5df2\u7ecf\u4e86\u89e3\u4e86springboot\u7684\u5e95\u5c42\u539f\u7406\uff1a\u901a\u8fc7 <strong><code>@SpringBootApplication<\/code><\/strong> \u89e6\u53d1\uff0c\u7531 <strong><code>@EnableAutoConfiguration<\/code><\/strong> \u53bb\u8bfb\u53d6\u5404\u4e2a\u4f9d\u8d56\u5305\u4e0b\u7684 <strong><code>spring.factories<\/code><\/strong>\uff08\u6216\u65b0\u7248 imports \u6587\u4ef6\uff09\u6e05\u5355\uff0c\u62ff\u5230\u5927\u91cf\u5019\u9009\u914d\u7f6e\u7c7b\u540e\uff0c\u518d\u901a\u8fc7 <strong><code>@Conditional<\/code><\/strong> \u7cfb\u5217\u6ce8\u89e3\u8fdb\u884c<strong>\u6309\u9700\u8fc7\u6ee4<\/strong>\uff0c\u6700\u7ec8\u628a\u7b26\u5408\u6761\u4ef6\u7684 Bean \u6ce8\u518c\u5230 Spring IOC \u5bb9\u5668\u4e2d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728spring\u5bb6\u65cf\u5f53\u4e2d\u63d0\u4f9b\u4e86\u8bb8\u591a\u6846\u67b6\uff0c\u8fd9\u4e9b\u6846\u67b6\u5168\u90e8\u5efa\u7acb\u5728\u4e00\u4e2a\u57fa\u7840\u6846\u67b6\u4e0a: Spring Framework , [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":85,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9,11,12],"class_list":["post-75","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learning","tag-java","tag-springboot","tag-12"],"_links":{"self":[{"href":"https:\/\/bkxiaohei123.xyz\/index.php\/wp-json\/wp\/v2\/posts\/75","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bkxiaohei123.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bkxiaohei123.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bkxiaohei123.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bkxiaohei123.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=75"}],"version-history":[{"count":9,"href":"https:\/\/bkxiaohei123.xyz\/index.php\/wp-json\/wp\/v2\/posts\/75\/revisions"}],"predecessor-version":[{"id":162,"href":"https:\/\/bkxiaohei123.xyz\/index.php\/wp-json\/wp\/v2\/posts\/75\/revisions\/162"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bkxiaohei123.xyz\/index.php\/wp-json\/wp\/v2\/media\/85"}],"wp:attachment":[{"href":"https:\/\/bkxiaohei123.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=75"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bkxiaohei123.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=75"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bkxiaohei123.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=75"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}