{"id":5042,"date":"2024-08-01T22:49:07","date_gmt":"2024-08-01T14:49:07","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=5042"},"modified":"2024-08-01T22:49:07","modified_gmt":"2024-08-01T14:49:07","slug":"%e5%9f%ba%e4%ba%8espring-cloud-gateway%ef%bc%8c%e5%ae%9e%e7%8e%b0%e8%b7%af%e7%94%b1%e5%92%8c%e8%b4%9f%e8%bd%bd%e5%9d%87%e8%a1%a1","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/spring-boot\/%e5%9f%ba%e4%ba%8espring-cloud-gateway%ef%bc%8c%e5%ae%9e%e7%8e%b0%e8%b7%af%e7%94%b1%e5%92%8c%e8%b4%9f%e8%bd%bd%e5%9d%87%e8%a1%a1\/","title":{"rendered":"\u57fa\u4e8eSpring Cloud Gateway\uff0c\u5b9e\u73b0\u8def\u7531\u548c\u8d1f\u8f7d\u5747\u8861"},"content":{"rendered":"<div class='wxsyncmain'>\n<section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" style=\"font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\">\n<blockquote data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;border-left-color: rgb(239, 112, 96);background: rgb(255, 249, 249);\">\n<p style=\"font-size: 16px;padding-top: 8px;padding-bottom: 8px;color: black;line-height: 26px;\">\u4f7f\u7528Spring Cloud Gateway\u5b9e\u73b0\u8def\u7531\u548c\u8d1f\u8f7d\u5747\u8861\u3002<\/p>\n<\/blockquote>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"lazyload\"data-imgfileid=\"100011696\" data-ratio=\"0.3314814814814815\"  data-type=\"png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" width=\"70%\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215023396.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" data-imgfileid=\"100011696\" data-ratio=\"0.3314814814814815\"  data-type=\"png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" width=\"70%\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215023396.png\"  \/><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: #888;font-size: 14px;\">\u957f\u6309\u5173\u6ce8\u300aJava\u5b66\u7814\u5927\u672c\u8425\u300b<\/figcaption><\/figure>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100011695\" data-ratio=\"0.9935185185185185\"  data-type=\"jpeg\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215028111.jpeg\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100011695\" data-ratio=\"0.9935185185185185\"  data-type=\"jpeg\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215028111.jpeg\"  \/><\/noscript><\/figure>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"lazyload\"data-imgfileid=\"100011694\" data-ratio=\"0.5279069767441861\"  data-type=\"png\" data-w=\"430\" style=\"display: block;margin-right: auto;margin-left: auto;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215033583.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" data-imgfileid=\"100011694\" data-ratio=\"0.5279069767441861\"  data-type=\"png\" data-w=\"430\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215033583.png\"  \/><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;\">Spring Cloud Gateway\u662f\u57fa\u4e8eSpring framework 5\u3001Project Reactor\u548cSpring Boot 2.0\u6784\u5efa\u7684API\u7f51\u5173\u5b9e\u73b0\u3002\u5b83\u53d6\u4ee3\u4e86\u4e4b\u524d\u4f7f\u7528\u7684spring-cloud-netflix-zuul\u3002\u8bf7\u8bbf\u95ee\u4e0b\u9762\u7684\u94fe\u63a5\u4e86\u89e3\u66f4\u591a\u8be6\u60c5\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;\">Spring Cloud Greenwich.RC1\u73b0\u5df2\u53d1\u5e03\u3002<strong>\uff08https:\/\/spring.io\/blog\/2018\/12\/12\/spring-cloud-greenwich-rc1-available-now#spring-cloud-netflix-projects-entering-maintenance-mode\uff09<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;\">\u8fd8\u6709\u4e00\u4e9b\u5176\u4ed6\u7684API\u7f51\u5173\u5b9e\u73b0\uff0c\u5982Kong\u3001Tyk\u3001Apigee\u7b49\uff0c\u5b83\u4eec\u5e76\u4e0d\u57fa\u4e8eSpring Cloud\u3002\u4f46\u662f\u672c\u8ba8\u8bba\u5b8c\u5168\u57fa\u4e8eSpring\u56e2\u961f\u521b\u5efa\u7684\u5f00\u6e90Spring Cloud Gateway\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;border-bottom: 2px solid rgb(239, 112, 96);font-size: 1.3em;\"><span style=\"display: none;\"><\/span><span style=\"display: inline-block;background: rgb(239, 112, 96);color: rgb(255, 255, 255);padding: 3px 10px 1px;border-top-right-radius: 3px;border-top-left-radius: 3px;margin-right: 3px;\">\u4e00\u3001\u7b80\u4ecb<\/span><span style=\"display: inline-block;vertical-align: bottom;border-bottom: 36px solid #efebe9;border-right: 20px solid transparent;\"> <\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;\">Spring Cloud Gateway\u662f\u975e\u963b\u585e\u5f0f\u7684\uff0c\u5373\u5b83\u7684\u8bbe\u8ba1\u3001\u7f16\u5199\u65b9\u5f0f\u7edd\u4e0d\u4f1a\u963b\u585e\u4e3b\u7ebf\u7a0b\u3002\u76f8\u53cd\uff0c\u8fd9\u4e9b\u7ebf\u7a0b\u59cb\u7ec8\u53ef\u4ee5\u4e3a\u8bf7\u6c42\u63d0\u4f9b\u670d\u52a1\uff0c\u5e76\u5728\u540e\u53f0\u5f02\u6b65\u5904\u7406\u8bf7\u6c42\uff0c\u4e00\u65e6\u5904\u7406\u5b8c\u6210\u5c31\u8fd4\u56de\u54cd\u5e94\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;\">Spring Cloud Gateway\u63d0\u4f9b\u4ee5\u4e0b\u51e0\u4e2a\u529f\u80fd\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;\">\u5c06\u5e94\u7528\u7a0b\u5e8f\u4e2d\u6240\u6709\u670d\u52a1\u7684\u8def\u7531\u6620\u5c04\u5230\u5355\u4e2aURL\u3002<\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;\">\u6784\u5efa\u8fc7\u6ee4\u5668\uff0c\u53ef\u4ee5\u68c0\u67e5\u5e76\u5904\u7406\u901a\u8fc7\u7f51\u5173\u53d1\u51fa\u7684\u8bf7\u6c42\u548c\u54cd\u5e94\u3002<\/p>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;\">\u6784\u5efa\u8c13\u8bcd\uff0c\u8fd9\u4e9b\u5bf9\u8c61\u5141\u8bb8\u6211\u4eec\u5728\u6267\u884c\u6216\u5904\u7406\u8bf7\u6c42\u4e4b\u524d\u68c0\u67e5\u8bf7\u6c42\u662f\u5426\u6ee1\u8db3\u4e00\u7ec4\u7ed9\u5b9a\u7684\u6761\u4ef6\u3002<\/p>\n<\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;\">Spring Cloud Gateway\u662f\u4e00\u4e2a\u53cd\u5411\u4ee3\u7406\u3002\u53cd\u5411\u4ee3\u7406\u662f\u4f4d\u4e8e\u8bd5\u56fe\u8bbf\u95ee\u8d44\u6e90\u7684\u5ba2\u6237\u7aef\u548c\u8d44\u6e90\u672c\u8eab\u4e4b\u95f4\u7684\u4e2d\u95f4\u670d\u52a1\u5668\u3002\u5ba2\u6237\u7aef\u751a\u81f3\u4e0d\u77e5\u9053\u81ea\u5df1\u6b63\u5728\u4e0e\u670d\u52a1\u5668\u901a\u4fe1\u3002\u53cd\u5411\u4ee3\u7406\u8d1f\u8d23\u6355\u83b7\u5ba2\u6237\u7aef\u7684\u8bf7\u6c42\uff0c\u7136\u540e\u4ee3\u8868\u5ba2\u6237\u7aef\u8c03\u7528\u8fdc\u7a0b\u8d44\u6e90\u3002\u7b80\u800c\u8a00\u4e4b\uff0c\u53cd\u5411\u4ee3\u7406\u5c31\u50cf\u5176\u4ed6API\u7f51\u5173\u4e00\u6837\uff0c\u5145\u5f53\u6240\u6709\u8fdb\u5165\u7cfb\u7edf\u7684\u8bf7\u6c42\u7684\u5355\u4e00\u5165\u53e3\u70b9\uff0c\u800c\u7cfb\u7edf\u5219\u5206\u4e3a\u4e00\u4e2a\u6216\u591a\u4e2a\u5fae\u670d\u52a1\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;\">\u53ef\u4ee5\u5bf9\u7f51\u5173\u8fdb\u884c\u914d\u7f6e\uff0c\u4ee5\u57fa\u4e8e\u4e0eDiscoveryClient\u517c\u5bb9\u7684\u670d\u52a1\u6ce8\u518c\u8868\u4e2d\u6ce8\u518c\u7684\u670d\u52a1\u521b\u5efa\u8def\u7531\u3002\u8981\u542f\u7528\u6b64\u529f\u80fd\uff0c\u6211\u4eec\u9700\u8981\u5728\u5c5e\u6027\u6587\u4ef6\u4e2d\u8bbe\u7f6e\u4ee5\u4e0b\u5c5e\u6027\uff0c\u5e76\u786e\u4fddDiscoveryClient\u5b9e\u73b0\u4f4d\u4e8e\u7c7b\u8def\u5f84\u4e0a\u5e76\u5df2\u542f\u7528\uff08\u4f8b\u5982Netflix Eureka\u3001Consul\u6216Zookeeper\uff09\u3002<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"display: block;background: url(&quot;https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215117856.jpeg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 100%;margin-bottom: -7px;border-radius: 5px;\"><\/span><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;padding-top: 15px;background: #282c34;border-radius: 5px;\">spring.cloud.gateway.routes[<span style=\"color: #d19a66;line-height: 26px;\">1<\/span>].uri=lb:<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/\/inventory-service<\/span><\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;\">\u5982\u679cURL\u5177\u6709<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(239, 112, 96);\">lb<\/code>\u65b9\u6848\uff08\u5373<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(239, 112, 96);\">lb:\/\/myservice<\/code>\uff09\uff0c\u5b83\u5c06\u4f7f\u7528Spring Cloud ReactorLoadBalancer\u5c06\u540d\u79f0\u89e3\u6790\u4e3a\u5b9e\u9645\u7684\u4e3b\u673a\u548c\u7aef\u53e3\u3002\u56e0\u6b64\uff0c\u5982\u679c\u4e0d\u6dfb\u52a0<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(239, 112, 96);\">lb<\/code>\u65b9\u6848\uff0c\u8d1f\u8f7d\u5747\u8861\u5c06\u65e0\u6cd5\u5de5\u4f5c\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;border-bottom: 2px solid rgb(239, 112, 96);font-size: 1.3em;\"><span style=\"display: none;\"><\/span><span style=\"display: inline-block;background: rgb(239, 112, 96);color: rgb(255, 255, 255);padding: 3px 10px 1px;border-top-right-radius: 3px;border-top-left-radius: 3px;margin-right: 3px;\">\u4e03\u3001\u7ed3\u8bed<\/span><span style=\"display: inline-block;vertical-align: bottom;border-bottom: 36px solid #efebe9;border-right: 20px solid transparent;\"> <\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;\">\u8fd9\u5c31\u662f\u5173\u4e8eSpring Cloud Gateway\u4e2d\u8def\u7531\u548c\u8d1f\u8f7d\u5747\u8861\u7684\u8ba8\u8bba\u3002\u5b8c\u6574\u7684\u4ee3\u7801\u53ef\u4ee5\u5728\u4ee5\u4e0b\u7684GitHub\u94fe\u63a5\u4e2d\u627e\u5230\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;\"><strong>https:\/\/github.com\/purbarunc\/Spring-Cloud-Microservice\/tree\/gateway-loadbalancing<\/strong><\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;border-bottom: 2px solid rgb(239, 112, 96);font-size: 1.3em;\"><span style=\"display: none;\"><\/span><span style=\"display: inline-block;background: rgb(239, 112, 96);color: rgb(255, 255, 255);padding: 3px 10px 1px;border-top-right-radius: 3px;border-top-left-radius: 3px;margin-right: 3px;\">\u63a8\u8350\u4e66\u5355<\/span><span style=\"display: inline-block;vertical-align: bottom;border-bottom: 36px solid #efebe9;border-right: 20px solid transparent;\"> <\/span><\/h2>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"lazyload\"data-imgfileid=\"100011703\" data-ratio=\"0.4\"  data-type=\"jpeg\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215102515.jpeg\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" data-imgfileid=\"100011703\" data-ratio=\"0.4\"  data-type=\"jpeg\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215102515.jpeg\"  \/><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: #888;font-size: 14px;\">\u626b\u7801\u67e5\u770b\u6d3b\u52a8\u4e66\u5355<\/figcaption><\/figure>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;font-size: 20px;\"><span style=\"display: none;\"><\/span>\u300aSpring Cloud \u5fae\u670d\u52a1\u5feb\u901f\u4e0a\u624b\u300b<span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;\">\u300aSpring Cloud \u5fae\u670d\u52a1\u5feb\u901f\u4e0a\u624b\u300b\u4ecb\u7ecd\u4e86\u5f53\u4e0b\u6700\u4e3b\u6d41\u7684\u5c5e\u4e8eSpring\u751f\u6001\u7684\u5fae\u670d\u52a1\u6846\u67b6\uff0c\u5b83\u7ee7\u627f\u4e86Spring Boot\u7684\u4f18\u70b9\uff0c\u5f00\u53d1\u90e8\u7f72\u90fd\u975e\u5e38\u7b80\u5355\u3002\u672c\u4e66\u5185\u5bb9\u5168\u9762\uff0c\u4ecb\u7ecd\u4e86\u5fae\u670d\u52a1\u67b6\u6784\u7684\u53d1\u5c55\u5386\u7a0b\uff0c\u5305\u542bSpring Cloud Netflix \u548c Spring Cloud \u963f\u91cc\u5df4\u5df4\u7684\u7ec4\u4ef6\uff0c\u5982\u670d\u52a1\u53d1\u73b0\u6ce8\u518c\u3001\u914d\u7f6e\u4e2d\u5fc3\u3001\u6d88\u606f\u603b\u7ebf\u3001\u8d1f\u8f7d\u5747\u8861\u3001\u65ad\u8def\u5668\u3001\u6570\u636e\u76d1\u63a7\u7b49\u3002\u5728\u89e3\u8bfb\u6838\u5fc3\u7ec4\u4ef6\u7684\u5b9e\u73b0\u539f\u7406\u7684\u540c\u65f6\uff0c\u914d\u4ee5\u6848\u4f8b\u8fdb\u884c\u5b9e\u8df5\u3002\u672c\u4e66\u5185\u5bb9\u5305\u542b\u5fae\u670d\u52a1\u67b6\u6784\u548c\u4e91\u539f\u751f\u67b6\u6784\uff0c\u8bfb\u8005\u5728\u638c\u63e1\u5fae\u670d\u52a1\u4e4b\u540e\uff0c\u53ef\u4ee5\u8fdb\u4e00\u6b65\u638c\u63e1\u4e91\u539f\u751f\u77e5\u8bc6\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;\"><strong><span style=\"color:red;\">\u3010\u534a\u4ef7\u4fc3\u9500\u4e2d\u3011<\/span>\u8d2d\u4e70\u94fe\u63a5\uff1ahttps:\/\/item.jd.com\/13251159.html<\/strong><\/p>\n<p><mpcps class=\"js_editor_new_cps\" data-templateid=\"card\" data-traceid=\"5b20be08-a729-438b-a8c4-32dc0689e988\" data-goodssouce=\"1\" data-pid=\"101_13251159\" data-appuin=\"3930372277\"><\/mpcps><\/p>\n<blockquote data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-width: initial;border-style: none;border-color: initial;box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 10px;padding: 20px;margin-bottom: 20px;margin-top: 20px;\">\n<blockquote style=\"border-width: initial;border-style: none;border-color: initial;\">\n<h2 style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: black;border-bottom: 2px solid rgb(239, 112, 96);font-size: 1.3em;\"><span style=\"display: none;\"><\/span><span style=\"display: inline-block;background: rgb(239, 112, 96);color: rgb(255, 255, 255);padding: 3px 10px 1px;border-top-right-radius: 3px;border-top-left-radius: 3px;margin-right: 3px;\">\u7cbe\u5f69\u56de\u987e<\/span><span style=\"display: inline-block;vertical-align: bottom;border-bottom: 36px solid #efebe9;border-right: 20px solid transparent;\"> <\/span><\/h2>\n<p style=\"font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzkzMDM3MjI3Nw==&amp;mid=2247495256&amp;idx=1&amp;sn=30f1adf5528158fd81c4a483dab85f8a&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(239, 112, 96);border-bottom: 1px solid rgb(239, 112, 96);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u4f7f\u7528\u7f13\u5b58\u65b9\u6cd5\u5927\u5e45\u63d0\u5347Spring Boot\u6027\u80fd<\/a><\/p>\n<p style=\"font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzkzMDM3MjI3Nw==&amp;mid=2247495188&amp;idx=1&amp;sn=215cc1c54ad56573bf2bcfa7d77441bb&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(239, 112, 96);border-bottom: 1px solid rgb(239, 112, 96);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u624b\u628a\u624b\u6559\u4f60\u7528Spring Boot\u53d1\u9001\u7535\u5b50\u90ae\u4ef6<\/a><\/p>\n<p style=\"font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzkzMDM3MjI3Nw==&amp;mid=2247495158&amp;idx=1&amp;sn=53643b20eb37c8a35171c148b8c426d2&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(239, 112, 96);border-bottom: 1px solid rgb(239, 112, 96);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u638c\u63e1\u8fd95\u70b9\uff0c\u8f7b\u677e\u5165\u95e8Spring Cloud<\/a><\/p>\n<p style=\"font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzkzMDM3MjI3Nw==&amp;mid=2247495130&amp;idx=1&amp;sn=a8f95f09fd0c117d0e1ffde6a1b5397e&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(239, 112, 96);border-bottom: 1px solid rgb(239, 112, 96);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >10\u4e2a\u8d85\u7ea7\u5b9e\u7528\u7684Java\u4ee3\u7801\u7247\u6bb5<\/a><\/p>\n<p style=\"font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzkzMDM3MjI3Nw==&amp;mid=2247495056&amp;idx=1&amp;sn=29f5b51454194173e39ea41589e2a6d9&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(239, 112, 96);border-bottom: 1px solid rgb(239, 112, 96);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >10\u4e2a\u5fc5\u5907\u7684VS Code\u63d2\u4ef6\uff0c\u89e3\u9501\u4f60\u7684\u7f16\u7a0b\u6f5c\u529b<\/a><\/p>\n<p style=\"font-size: 16px;padding-top: 8px;padding-bottom: 8px;line-height: 26px;color: black;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzkzMDM3MjI3Nw==&amp;mid=2247495005&amp;idx=1&amp;sn=8079b34279fcb2db89e8d8f58d0e1b4e&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(239, 112, 96);border-bottom: 1px solid rgb(239, 112, 96);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u624b\u628a\u624b\u6559\u4f60\u5f00\u53d1\u81ea\u5df1\u7684VSCode\u63d2\u4ef6<\/a><\/p>\n<\/blockquote>\n<\/blockquote>\n<blockquote data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-width: initial;border-style: none;border-color: initial;box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 10px;padding: 20px;margin-bottom: 20px;margin-top: 20px;\">\n<blockquote style=\"border-width: initial;border-style: none;border-color: initial;\">\n<figure style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100011699\" data-ratio=\"0.3314814814814815\"  data-type=\"png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" width=\"70%\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215106331.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100011699\" data-ratio=\"0.3314814814814815\"  data-type=\"png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" width=\"70%\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215106331.png\"  \/><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: #888;font-size: 14px;\">\u957f\u6309\u5173\u6ce8\u300aJava\u5b66\u7814\u5927\u672c\u8425\u300b<\/figcaption><\/figure>\n<figure style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100011706\" data-ratio=\"1\"  data-type=\"png\" data-w=\"400\" height=\"100\" style=\"display: block;margin-right: auto;margin-left: auto;\" width=\"100\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215110478.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img loading=\"lazy\" decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100011706\" data-ratio=\"1\"  data-type=\"png\" data-w=\"400\" height=\"100\" style=\"display: block;margin-right: auto;margin-left: auto;\" width=\"100\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215110478.png\"  \/><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: #888;font-size: 14px;\">\u957f\u6309\u8bbf\u95ee\u3010IT\u4eca\u65e5\u70ed\u699c\u3011\uff0c\u53d1\u73b0\u6bcf\u65e5\u6280\u672f\u70ed\u70b9<\/figcaption><\/figure>\n<\/blockquote>\n<\/blockquote>\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:                 Java\u5b66\u7814\u5927\u672c\u8425              <\/p>\n<\/blockquote>\n<\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528Spring Cloud Gateway\u5b9e\u73b0\u8def\u7531\u548c\u8d1f\u8f7d\u5747\u8861\u3002 \u957f\u6309\u5173\u6ce8\u300aJava\u5b66\u7814\u5927\u672c\u8425\u300b Spring Cloud Gat &#8230;<\/p>\n","protected":false},"author":1,"featured_media":5017,"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-5042","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\/20240801215017695-150x150.jpeg","content_first_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215023396.png","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215017695-300x128.jpeg","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215017695.jpeg","post_frist_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215023396.png","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215017695-300x128.jpeg","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215017695.jpeg","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215017695.jpeg","post_all_images":[{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215023396.png","id":"image0"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215023396.png","id":"image1"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215028111.jpeg","id":"image2"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215028111.jpeg","id":"image3"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215033583.png","id":"image4"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215033583.png","id":"image5"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215102515.jpeg","id":"image6"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215102515.jpeg","id":"image7"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215106331.png","id":"image8"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215106331.png","id":"image9"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215110478.png","id":"image10"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215110478.png","id":"image11"}],"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":813,"next_post_id":5251,"next_post_title":"SpringBoot \u81ea\u5b9a\u4e49\u542f\u52a8\u753b\u9762","previous_post_id":5297,"previous_post_title":"Spring Boot\u5b9e\u73b0\u591a\u6570\u636e\u6e90\u5feb\u901f\u5165\u95e8","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/5042","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=5042"}],"version-history":[{"count":1,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/5042\/revisions"}],"predecessor-version":[{"id":6352,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/5042\/revisions\/6352"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media\/5017"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=5042"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=5042"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=5042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}