{"id":91577,"date":"2026-08-08T00:48:39","date_gmt":"2026-08-07T16:48:39","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/91577.html"},"modified":"2026-08-08T00:48:39","modified_gmt":"2026-08-07T16:48:39","slug":"%e5%be%ae%e6%9c%8d%e5%8a%a1%e7%bd%91%e5%85%b3gateway%e5%ae%9e%e6%88%98%ef%bc%9a%e9%99%90%e6%b5%81%e3%80%81%e9%89%b4%e6%9d%83%e3%80%81%e7%81%b0%e5%ba%a6%e5%8f%91%e5%b8%83%e4%b8%80%e7%ab%99%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/91577.html","title":{"rendered":"\u5fae\u670d\u52a1\u7f51\u5173Gateway\u5b9e\u6218\uff1a\u9650\u6d41\u3001\u9274\u6743\u3001\u7070\u5ea6\u53d1\u5e03\u4e00\u7ad9\u5f0f\u5b9e\u73b0"},"content":{"rendered":"<p>\u505a\u5fae\u670d\u52a1\u5f00\u53d1\u7684\u540c\u5b66\u5e94\u8be5\u90fd\u6e05\u695a&#xff0c;SpringCloud Gateway \u51e0\u4e4e\u662f\u76ee\u524d\u5fae\u670d\u52a1\u67b6\u6784\u7684\u7edf\u4e00\u5165\u53e3\u6838\u5fc3\u3002\u6240\u6709\u524d\u7aef\u8bf7\u6c42\u3001\u7b2c\u4e09\u65b9\u63a5\u53e3\u8c03\u7528&#xff0c;\u90fd\u4f1a\u5148\u7ecf\u8fc7\u7f51\u5173\u518d\u8f6c\u53d1\u5230\u5177\u4f53\u4e1a\u52a1\u670d\u52a1\u3002<\/p>\n<p>\u5f88\u591a\u521d\u5b66\u5fae\u670d\u52a1\u7684\u670b\u53cb&#xff0c;\u53ea\u662f\u7b80\u5355\u914d\u7f6e\u4e00\u4e0b\u8def\u7531\u8f6c\u53d1&#xff0c;\u5c31\u76f4\u63a5\u4e0a\u7ebf\u9879\u76ee&#xff0c;\u5b8c\u5168\u6ca1\u7528\u5230\u7f51\u5173\u7684\u6838\u5fc3\u80fd\u529b\u3002\u7b49\u5230\u7ebf\u4e0a\u51fa\u73b0\u63a5\u53e3\u88ab\u5237\u3001\u672a\u6388\u6743\u8bbf\u95ee\u3001\u7248\u672c\u8fed\u4ee3\u4e0d\u6562\u7070\u5ea6\u3001\u9ad8\u5e76\u53d1\u6253\u57ae\u670d\u52a1\u7b49\u95ee\u9898&#xff0c;\u624d\u53d1\u73b0\u7f51\u5173\u5c11\u505a\u4e86\u4e09\u5c42\u6838\u5fc3\u9632\u62a4&#xff1a;\u9650\u6d41\u3001\u7edf\u4e00\u9274\u6743\u3001\u7070\u5ea6\u53d1\u5e03\u3002<\/p>\n<p>\u4eca\u5929\u6211\u7ed3\u5408\u65e5\u5e38\u9879\u76ee\u5b9e\u6218\u7ecf\u9a8c&#xff0c;\u4e0d\u5e26\u7a7a\u8bdd\u3001\u7eaf\u843d\u5730\u6559\u5b66&#xff0c;\u624b\u628a\u624b\u6559\u5927\u5bb6\u5728 Gateway \u4e2d\u4e00\u7ad9\u5f0f\u5b9e\u73b0\u9650\u6d41\u3001\u9274\u6743\u3001\u7070\u5ea6\u53d1\u5e03\u4e09\u5927\u6838\u5fc3\u529f\u80fd&#xff0c;\u9644\u5e26\u5b8c\u6574\u53ef\u76f4\u63a5\u590d\u7528\u7684\u4ee3\u7801&#xff0c;\u751f\u4ea7\u73af\u5883\u7a0d\u52a0\u4fee\u6539\u5c31\u80fd\u76f4\u63a5\u4e0a\u7ebf\u3002<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807164837-6a760c659fb47.jpg\" \/><\/p>\n<h3>\u4e00\u3001\u4e3a\u4ec0\u4e48\u5fc5\u987b\u7528 Gateway \u7edf\u4e00\u5904\u7406\u8fd9\u4e09\u5927\u529f\u80fd&#xff1f;<\/h3>\n<p>\u5f88\u591a\u65b0\u624b\u4f1a\u628a\u9274\u6743\u3001\u9650\u6d41\u5199\u5728\u6bcf\u4e2a\u4e1a\u52a1\u670d\u52a1\u5185\u90e8&#xff0c;\u5176\u5b9e\u8fd9\u662f\u975e\u5e38\u4e0d\u89c4\u8303\u7684\u5199\u6cd5\u3002<\/p>\n<p>\u5982\u679c\u6bcf\u4e2a\u5fae\u670d\u52a1\u90fd\u5355\u72ec\u5199\u4e00\u5957\u62e6\u622a\u903b\u8f91&#xff0c;\u4e0d\u4ec5\u4ee3\u7801\u5197\u4f59\u3001\u7ef4\u62a4\u9ebb\u70e6&#xff0c;\u8fd8\u4f1a\u51fa\u73b0\u89c4\u5219\u4e0d\u7edf\u4e00\u3001\u6f0f\u6d1e\u591a\u7684\u95ee\u9898\u3002\u800c\u7f51\u5173\u4f5c\u4e3a\u6d41\u91cf\u552f\u4e00\u5165\u53e3&#xff0c;\u6240\u6709\u901a\u7528\u975e\u4e1a\u52a1\u903b\u8f91\u90fd\u5e94\u8be5\u653e\u5728\u7f51\u5173\u5c42\u5904\u7406&#xff0c;\u4e1a\u52a1\u670d\u52a1\u53ea\u9700\u8981\u4e13\u6ce8\u4e1a\u52a1CRUD&#xff0c;\u8fd9\u4e5f\u662f\u5fae\u670d\u52a1\u67b6\u6784\u7684\u6807\u51c6\u8bbe\u8ba1\u601d\u60f3\u3002<\/p>\n<p>\u76ee\u524d\u4e3b\u6d41\u4f01\u4e1a\u7ea7\u67b6\u6784&#xff0c;\u5168\u90e8\u90fd\u662f\u5728\u7f51\u5173\u5c42\u7edf\u4e00\u5b9e\u73b0&#xff1a;\u8bf7\u6c42\u8fc7\u6ee4\u3001Token\u9274\u6743\u3001\u6d41\u91cf\u9650\u6d41\u3001\u7070\u5ea6\u8def\u7531\u3001\u8de8\u57df\u5904\u7406\u3001\u65e5\u5fd7\u6536\u96c6\u3002<\/p>\n<h3>\u4e8c\u3001\u57fa\u7840\u4f9d\u8d56\u914d\u7f6e<\/h3>\n<p>\u9996\u5148\u5f15\u5165 Gateway \u6838\u5fc3\u4f9d\u8d56&#xff0c;\u642d\u914d Redis \u5b9e\u73b0\u5206\u5e03\u5f0f\u9650\u6d41&#xff0c;\u8fd9\u662f\u751f\u4ea7\u73af\u5883\u6807\u914d\u7ec4\u5408&#xff1a;<\/p>\n<p>&lt;dependencies&gt; &lt;!&#8211; SpringCloud Gateway \u7f51\u5173\u6838\u5fc3 &#8211;&gt; &lt;dependency&gt; &lt;groupId&gt;org.springframework.cloud&lt;\/groupId&gt; &lt;artifactId&gt;spring-cloud-starter-gateway&lt;\/artifactId&gt; &lt;\/dependency&gt; &lt;!&#8211; Redis \u5206\u5e03\u5f0f\u9650\u6d41\u4f9d\u8d56 &#8211;&gt; &lt;dependency&gt; &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt; &lt;artifactId&gt;spring-boot-starter-data-redis-reactive&lt;\/artifactId&gt; &lt;\/dependency&gt; &lt;\/dependencies&gt; <\/p>\n<h3>\u4e09\u3001\u7f51\u5173\u7edf\u4e00Token\u9274\u6743\u5b9e\u6218<\/h3>\n<p>\u7edf\u4e00\u9274\u6743\u662f\u7f51\u5173\u6700\u57fa\u7840\u7684\u529f\u80fd\u3002\u6838\u5fc3\u903b\u8f91\u5c31\u662f\u81ea\u5b9a\u4e49\u5168\u5c40\u8fc7\u6ee4\u5668&#xff0c;\u62e6\u622a\u6240\u6709\u8bf7\u6c42&#xff0c;\u6821\u9a8cHeader\u4e2d\u7684Token&#xff0c;\u65e0\u6548Token\u76f4\u63a5\u62e6\u622a&#xff0c;\u4e0d\u8f6c\u53d1\u4e0b\u6e38\u670d\u52a1\u3002<\/p>\n<p>\u6211\u5199\u4e86\u4e00\u5957\u751f\u4ea7\u5e38\u7528\u7684\u5168\u5c40\u9274\u6743\u8fc7\u6ee4\u5668&#xff1a;<\/p>\n<p>&#064;Component public class AuthGlobalFilter implements GlobalFilter, Ordered { \/\/ \u653e\u884c\u63a5\u53e3&#xff1a;\u767b\u5f55\u3001\u6ce8\u518c\u3001\u9a8c\u8bc1\u7801 private static final List&lt;String&gt; WHITE_LIST &#061; Arrays.asList(&#034;\/login&#034;,&#034;\/register&#034;,&#034;\/captcha&#034;); &#064;Override public Mono&lt;Void&gt; filter(ServerWebExchange exchange, GatewayFilterChain chain) { String path &#061; exchange.getRequest().getPath().value(); \/\/ \u767d\u540d\u5355\u76f4\u63a5\u653e\u884c if (WHITE_LIST.contains(path)) { return chain.filter(exchange); } \/\/ \u83b7\u53d6\u8bf7\u6c42\u5934Token String token &#061; exchange.getRequest().getHeaders().getFirst(&#034;Token&#034;); \/\/ \u7b80\u5355\u6821\u9a8c&#xff0c;\u5b9e\u9645\u9879\u76ee\u53ef\u7ed3\u5408JWT\u89e3\u6790\u3001\u8fc7\u671f\u5224\u65ad if (StringUtils.isEmpty(token)) { ServerHttpResponse response &#061; exchange.getResponse(); response.setStatusCode(HttpStatus.UNAUTHORIZED); return response.setComplete(); } return chain.filter(exchange); } &#064;Override public int getOrder() { \/\/ \u6700\u9ad8\u4f18\u5148\u7ea7\u6267\u884c return Ordered.HIGHEST_PRECEDENCE; } } <\/p>\n<p>\u8fd9\u79cd\u5168\u5c40\u8fc7\u6ee4\u65b9\u5f0f&#xff0c;\u80fd\u62e6\u622a\u6240\u6709\u975e\u6cd5\u8bf7\u6c42&#xff0c;\u907f\u514d\u4e0b\u6e38\u6bcf\u4e2a\u670d\u52a1\u91cd\u590d\u5199\u62e6\u622a\u903b\u8f91&#xff0c;\u975e\u5e38\u7b80\u6d01\u7edf\u4e00\u3002<\/p>\n<h3>\u56db\u3001Redis &#043; Gateway \u5206\u5e03\u5f0f\u9650\u6d41\u5b9e\u6218<\/h3>\n<p>\u7ebf\u4e0a\u670d\u52a1\u6700\u6015\u77ac\u95f4\u9ad8\u5e76\u53d1\u3001\u6076\u610f\u5237\u63a5\u53e3&#xff0c;\u8fd9\u65f6\u5019\u5c31\u5fc5\u987b\u9760\u9650\u6d41\u515c\u5e95\u3002\u6211\u91c7\u7528\u7f51\u5173\u81ea\u5e26\u7684 RequestRateLimiter \u4ee4\u724c\u6876\u9650\u6d41\u65b9\u6848&#xff0c;\u57fa\u4e8eRedis\u5b9e\u73b0&#xff0c;\u652f\u6301\u5206\u5e03\u5f0f\u96c6\u7fa4\u9650\u6d41\u3002zqA.4-p.cN<br \/>\n4l5.4-p.cN<br \/>\nurh.4-p.cN<br \/>\nriw.4-p.cN<br \/>\n9xy.4-p.cN<br \/>\ntyt.4-p.cN<br \/>\n589.4-p.cN<br \/>\nv8z.4-p.cN<br \/>\nmpl.4-p.cN<br \/>\n90r.4-p.cN<br \/>\nu20.4-p.cN<br \/>\nx8w.4-p.cN<br \/>\nm1v.4-p.cN<br \/>\nvpm.4-p.cN<br \/>\nnoA.4-p.cN<br \/>\n19u.4-p.cN<br \/>\nfgB.4-p.cN<br \/>\nAh6.4-p.cN<br \/>\n5r3.4-p.cN<br \/>\nfyo.4-p.cN<br \/>\n60z.4-p.cN<br \/>\nez3.4-p.cN<br \/>\nBDD.4-p.cN<br \/>\nrwA.4-p.cN<br \/>\n7xA.4-p.cN<br \/>\n1oj.4-p.cN<br \/>\nyre.4-p.cN<br \/>\n4xo.4-p.cN<br \/>\nxng.4-p.cN<br \/>\nD7p.4-p.cN<br \/>\n3A4.4-p.cN<br \/>\nyyn.4-p.cN<br \/>\nlkx.4-p.cN<br \/>\nmv5.4-p.cN<br \/>\nhgn.4-p.cN<br \/>\nwjg.4-p.cN<br \/>\nAx4.4-p.cN<br \/>\nng9.4-p.cN<br \/>\nluh.4-p.cN<br \/>\n59t.4-p.cN<br \/>\n37m.4-p.cN<br \/>\nwtv.4-p.cN<br \/>\nAi6.4-p.cN<br \/>\n3t8.4-p.cN<br \/>\npnz.4-p.cN<br \/>\nA2v.4-p.cN<br \/>\nlsm.4-p.cN<br \/>\n9lu.4-p.cN<br \/>\nvyr.4-p.cN<br \/>\no8B.4-p.cN<br \/>\n7ks.4-p.cN<br \/>\nlA2.4-p.cN<br \/>\nvBk.4-p.cN<br \/>\nslp.4-p.cN<br \/>\npB8.4-p.cN<br \/>\nkpl.4-p.cN<br \/>\n9tq.4-p.cN<br \/>\nyus.4-p.cN<br \/>\nnAx.4-p.cN<br \/>\ni0j.4-p.cN<br \/>\n8jj.4-p.cN<br \/>\nyp3.4-p.cN<br \/>\nCev.4-p.cN<br \/>\nuB5.4-p.cN<br \/>\n19i.4-p.cN<br \/>\nys1.4-p.cN<br \/>\nxvD.4-p.cN<br \/>\ntf6.4-p.cN<br \/>\nmpg.4-p.cN<br \/>\nikB.4-p.cN<br \/>\n3mk.4-p.cN<br \/>\np3x.4-p.cN<br \/>\nxre.4-p.cN<br \/>\nvj1.4-p.cN<br \/>\n3h4.4-p.cN<br \/>\nslv.4-p.cN<br \/>\nvqC.4-p.cN<br \/>\nonf.4-p.cN<br \/>\n9&#215;1.4-p.cN<br \/>\n9mg.4-p.cN<br \/>\nDvu.4-p.cN<br \/>\nqBD.4-p.cN<br \/>\nC4i.4-p.cN<br \/>\nvBz.4-p.cN<br \/>\nlAA.4-p.cN<br \/>\n73r.4-p.cN<br \/>\n9lw.4-p.cN<br \/>\noC0.4-p.cN<br \/>\nfBs.4-p.cN<br \/>\nDln.4-p.cN<br \/>\n7tj.4-p.cN<br \/>\nljj.4-p.cN<br \/>\nrp5.4-p.cN<br \/>\nghv.4-p.cN<br \/>\n1tj.4-p.cN<br \/>\nA00.4-p.cN<br \/>\nD7s.4-p.cN<br \/>\nq4u.4-p.cN<br \/>\n2A7.4-p.cN<br \/>\nf4C.4-p.cN<br \/>\nuAu.4-p.cN<br \/>\nk9o.4-p.cN<br \/>\ntBj.4-p.cN<br \/>\nqft.4-p.cN<br \/>\n5e7.4-p.cN<br \/>\nAg9.4-p.cN<br \/>\n54o.4-p.cN<br \/>\nChm.4-p.cN<br \/>\nA4i.4-p.cN<br \/>\ngtA.4-p.cN<br \/>\nwnl.4-p.cN<br \/>\n5et.4-p.cN<br \/>\nows.4-p.cN<br \/>\n3D1.4-p.cN<br \/>\nspx.4-p.cN<br \/>\nylo.4-p.cN<br \/>\n6w0.4-p.cN<br \/>\nAwi.4-p.cN<br \/>\nkD6.4-p.cN<br \/>\n0xx.4-p.cN<br \/>\nuhu.4-p.cN<br \/>\n05v.4-p.cN<br \/>\nn38.4-p.cN<br \/>\n1lr.4-p.cN<br \/>\nlk7.4-p.cN<br \/>\nx95.4-p.cN<br \/>\nkn6.4-p.cN<br \/>\nBC8.4-p.cN<br \/>\nwjm.4-p.cN<br \/>\ntnf.4-p.cN<br \/>\nr49.4-p.cN<br \/>\nw08.4-p.cN<br \/>\n15e.4-p.cN<br \/>\nhAz.4-p.cN<br \/>\nwl1.4-p.cN<br \/>\nnxo.4-p.cN<br \/>\nvqw.4-p.cN<br \/>\nvAi.4-p.cN<br \/>\nuf9.4-p.cN<br \/>\nhmn.4-p.cN<br \/>\nzs9.4-p.cN<br \/>\n09l.4-p.cN<br \/>\ny74.4-p.cN<br \/>\nr1z.4-p.cN<br \/>\n862.4-p.cN<br \/>\nwgm.4-p.cN<br \/>\nhrj.4-p.cN<br \/>\n9xh.4-p.cN<br \/>\nhnt.4-p.cN<br \/>\n4Cs.4-p.cN<br \/>\np4z.4-p.cN<br \/>\nw7t.4-p.cN<br \/>\n2ps.4-p.cN<br \/>\nk1w.4-p.cN<br \/>\nnyC.4-p.cN<br \/>\n9mr.4-p.cN<br \/>\ng8v.4-p.cN<br \/>\nefw.4-p.cN<br \/>\nmCu.4-p.cN<br \/>\n0s4.4-p.cN<br \/>\n674.4-p.cN<br \/>\nxe3.4-p.cN<br \/>\nj99.4-p.cN<br \/>\n7Bp.4-p.cN<br \/>\nxvj.4-p.cN<br \/>\nipB.4-p.cN<br \/>\njxj.4-p.cN<br \/>\nfmr.4-p.cN<br \/>\neDv.4-p.cN<br \/>\nuyi.4-p.cN<br \/>\nns2.4-p.cN<br \/>\nip6.4-p.cN<br \/>\nnzB.4-p.cN<br \/>\nrhu.4-p.cN<br \/>\n4yj.4-p.cN<br \/>\n23e.4-p.cN<br \/>\ngrl.4-p.cN<br \/>\npgx.4-p.cN<br \/>\nf7k.4-p.cN<br \/>\nm2j.4-p.cN<br \/>\nsg2.4-p.cN<br \/>\nwrn.4-p.cN<br \/>\n493.4-p.cN<br \/>\nCjq.4-p.cN<br \/>\n534.4-p.cN<br \/>\n4u9.4-p.cN<br \/>\n25C.4-p.cN<br \/>\nhr9.4-p.cN<br \/>\nozA.4-p.cN<br \/>\nr45.4-p.cN<br \/>\nv4h.4-p.cN<br \/>\nuvB.4-p.cN<br \/>\nu3k.4-p.cN<br \/>\n3A1.4-p.cN<br \/>\nAj1.4-p.cN<br \/>\npnm.4-p.cN<br \/>\nhew.4-p.cN<br \/>\ntsv.4-p.cN<br \/>\nAhf.4-p.cN<br \/>\n3Aw.4-p.cN<br \/>\njgx.4-p.cN<br \/>\n8hi.4-p.cN<br \/>\nAr7.4-p.cN<br \/>\nujt.4-p.cN<br \/>\nBuh.4-p.cN<br \/>\nen7.4-p.cN<br \/>\nlCt.4-p.cN<br \/>\nvzg.4-p.cN<br \/>\nnqp.4-p.cN<br \/>\noBs.4-p.cN<br \/>\nwtq.4-p.cN<br \/>\nhAu.4-p.cN<br \/>\n1yl.4-p.cN<br \/>\nrnC.4-p.cN<br \/>\n5lv.4-p.cN<br \/>\n3mq.4-p.cN<br \/>\nzre.4-p.cN<br \/>\nqy6.4-p.cN<br \/>\nupl.4-p.cN<br \/>\nwx0.4-p.cN<br \/>\n6v9.4-p.cN<br \/>\nexf.4-p.cN<br \/>\nhmi.4-p.cN<br \/>\njh0.4-p.cN<br \/>\njs6.4-p.cN<br \/>\nq24.4-p.cN<br \/>\ngth.4-p.cN<br \/>\n0xl.4-p.cN<br \/>\nqBm.4-p.cN<br \/>\nz5p.4-p.cN<br \/>\nr3l.4-p.cN<br \/>\npvh.4-p.cN<br \/>\nBDf.4-p.cN<br \/>\n41g.4-p.cN<br \/>\neDB.4-p.cN<br \/>\nnlB.4-p.cN<br \/>\nDAo.4-p.cN<br \/>\n2Bh.4-p.cN<br \/>\neto.4-p.cN<br \/>\nvfA.4-p.cN<br \/>\n8k9.4-p.cN<br \/>\ni2f.4-p.cN<br \/>\nxrk.4-p.cN<br \/>\n5g5.4-p.cN<br \/>\n8ls.4-p.cN<br \/>\n7Dz.4-p.cN<br \/>\nohA.4-p.cN<br \/>\nnqD.4-p.cN<br \/>\nsw3.4-p.cN<br \/>\noir.4-p.cN<br \/>\nCzl.4-p.cN<br \/>\nwAr.4-p.cN<br \/>\n1D9.4-p.cN<br \/>\nBpk.4-p.cN<br \/>\n9An.4-p.cN<br \/>\nqth.4-p.cN<br \/>\nrm3.4-p.cN<br \/>\nom9.4-p.cN<br \/>\nB9s.4-p.cN<br \/>\n4em.4-p.cN<br \/>\nfBj.4-p.cN<br \/>\nn46.4-p.cN<br \/>\nem4.4-p.cN<br \/>\nnCn.4-p.cN<br \/>\n9zz.4-p.cN<br \/>\n294.4-p.cN<br \/>\ne1C.4-p.cN<br \/>\n4nt.4-p.cN<br \/>\nxAA.4-p.cN<br \/>\nfo0.4-p.cN<br \/>\nmqt.4-p.cN<br \/>\nxrp.4-p.cN<br \/>\nvlt.4-p.cN<br \/>\non5.4-p.cN<br \/>\nezm.4-p.cN<br \/>\np4f.4-p.cN<br \/>\nzqf.4-p.cN<br \/>\nDio.4-p.cN<br \/>\n322.4-p.cN<br \/>\nw58.4-p.cN<br \/>\n0x6.4-p.cN<br \/>\nhxk.4-p.cN<br \/>\nrph.4-p.cN<br \/>\nlmu.4-p.cN<br \/>\nCmj.4-p.cN<br \/>\nDwt.4-p.cN<br \/>\n9ms.4-p.cN<br \/>\nz0j.4-p.cN<br \/>\nplA.4-p.cN<br \/>\n8xm.4-p.cN<br \/>\n5hp.4-p.cN<br \/>\ns2B.4-p.cN<br \/>\ny2h.4-p.cN<br \/>\nku8.4-p.cN<br \/>\nsel.4-p.cN<br \/>\ny2D.4-p.cN<br \/>\npfu.4-p.cN<br \/>\nwDj.4-p.cN<br \/>\ntel.4-p.cN<br \/>\nlz0.4-p.cN<br \/>\n32q.4-p.cN<br \/>\n6n4.4-p.cN<br \/>\n8kf.4-p.cN<br \/>\nqv2.4-p.cN<br \/>\nom5.4-p.cN<br \/>\ngzt.4-p.cN<br \/>\ny62.4-p.cN<br \/>\njkl.4-p.cN<br \/>\n056.4-p.cN<br \/>\nzzq.4-p.cN<br \/>\n7l2.4-p.cN<br \/>\nkwz.4-p.cN<br \/>\nuD4.4-p.cN<br \/>\nf9f.4-p.cN<br \/>\nglw.4-p.cN<br \/>\nkmn.4-p.cN<br \/>\ny7B.4-p.cN<br \/>\nCBv.4-p.cN<br \/>\no0C.4-p.cN<br \/>\nwsl.4-p.cN<br \/>\nn3D.4-p.cN<br \/>\neyD.4-p.cN<br \/>\no27.4-p.cN<br \/>\nuov.4-p.cN<br \/>\n5kj.4-p.cN<br \/>\nCqB.4-p.cN<br \/>\ntz1.4-p.cN<br \/>\npDn.4-p.cN<br \/>\nBh6.4-p.cN<br \/>\nex3.4-p.cN<br \/>\n8ow.4-p.cN<br \/>\n1Bz.4-p.cN<br \/>\nm83.4-p.cN<br \/>\nl3t.4-p.cN<br \/>\nwss.4-p.cN<br \/>\nwl4.4-p.cN<br \/>\ne5o.4-p.cN<br \/>\n3pA.4-p.cN<br \/>\nC2t.4-p.cN<br \/>\n9il.4-p.cN<br \/>\nm5o.4-p.cN<br \/>\nowj.4-p.cN<br \/>\nfAp.4-p.cN<br \/>\nhCo.4-p.cN<br \/>\nm6e.4-p.cN<br \/>\nmol.4-p.cN<br \/>\neno.4-p.cN<br \/>\nwvh.4-p.cN<br \/>\n5lp.4-p.cN<br \/>\n2qt.4-p.cN<br \/>\nr2w.4-p.cN<br \/>\nrjz.4-p.cN<br \/>\nktw.4-p.cN<br \/>\nrxp.4-p.cN<br \/>\njis.4-p.cN<br \/>\n0yt.4-p.cN<br \/>\nfkx.4-p.cN<br \/>\nCg4.4-p.cN<br \/>\njs9.4-p.cN<br \/>\nC7f.4-p.cN<br \/>\nA28.4-p.cN<br \/>\nmC0.4-p.cN<br \/>\njB9.4-p.cN<br \/>\nC9f.4-p.cN<br \/>\nxgt.4-p.cN<br \/>\nmth.4-p.cN<br \/>\nqs2.4-p.cN<br \/>\n3gf.4-p.cN<br \/>\n1uo.4-p.cN<br \/>\nq7i.4-p.cN<br \/>\n2&#215;1.4-p.cN<br \/>\nrCt.4-p.cN<br \/>\n70h.4-p.cN<br \/>\ns6C.4-p.cN<br \/>\nnjq.4-p.cN<br \/>\n89B.4-p.cN<br \/>\nlhu.4-p.cN<br \/>\n1j8.4-p.cN<br \/>\nrvp.4-p.cN<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u505a\u5fae\u670d\u52a1\u5f00\u53d1\u7684\u540c\u5b66\u5e94\u8be5\u90fd\u6e05\u695a&#xff0c;SpringCloud Gateway \u51e0\u4e4e\u662f\u76ee\u524d\u5fae\u670d\u52a1\u67b6\u6784\u7684\u7edf\u4e00\u5165\u53e3\u6838\u5fc3\u3002\u6240\u6709\u524d\u7aef\u8bf7\u6c42\u3001\u7b2c\u4e09\u65b9\u63a5\u53e3\u8c03\u7528&#xff0c;\u90fd\u4f1a\u5148\u7ecf\u8fc7\u7f51\u5173\u518d\u8f6c\u53d1\u5230\u5177\u4f53\u4e1a\u52a1\u670d\u52a1\u3002\u5f88\u591a\u521d\u5b66\u5fae\u670d\u52a1\u7684\u670b\u53cb&#xff0c;\u53ea\u662f\u7b80\u5355\u914d\u7f6e\u4e00\u4e0b\u8def\u7531\u8f6c\u53d1&#xff0c;\u5c31\u76f4\u63a5\u4e0a\u7ebf\u9879\u76ee&#xff0c;\u5b8c\u5168\u6ca1\u7528\u5230\u7f51\u5173\u7684\u6838\u5fc3\u80fd\u529b\u3002\u7b49\u5230\u7ebf\u4e0a\u51fa\u73b0\u63a5\u53e3\u88ab\u5237\u3001\u672a\u6388\u6743\u8bbf\u95ee\u3001\u7248\u672c\u8fed\u4ee3\u4e0d\u6562\u7070\u5ea6\u3001\u9ad8\u5e76\u53d1\u6253\u57ae\u670d\u52a1\u7b49\u95ee\u9898&#xff0c;\u624d\u53d1\u73b0\u7f51\u5173\u5c11\u505a\u4e86\u4e09\u5c42\u6838\u5fc3\u9632\u62a4&#xff1a;\u9650\u6d41\u3001\u7edf\u4e00\u9274\u6743\u3001<\/p>\n","protected":false},"author":2,"featured_media":91576,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1418,1348,188],"topic":[],"class_list":["post-91577","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-gateway","tag-1348","tag-188"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5fae\u670d\u52a1\u7f51\u5173Gateway\u5b9e\u6218\uff1a\u9650\u6d41\u3001\u9274\u6743\u3001\u7070\u5ea6\u53d1\u5e03\u4e00\u7ad9\u5f0f\u5b9e\u73b0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/91577.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5fae\u670d\u52a1\u7f51\u5173Gateway\u5b9e\u6218\uff1a\u9650\u6d41\u3001\u9274\u6743\u3001\u7070\u5ea6\u53d1\u5e03\u4e00\u7ad9\u5f0f\u5b9e\u73b0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u505a\u5fae\u670d\u52a1\u5f00\u53d1\u7684\u540c\u5b66\u5e94\u8be5\u90fd\u6e05\u695a&#xff0c;SpringCloud Gateway \u51e0\u4e4e\u662f\u76ee\u524d\u5fae\u670d\u52a1\u67b6\u6784\u7684\u7edf\u4e00\u5165\u53e3\u6838\u5fc3\u3002\u6240\u6709\u524d\u7aef\u8bf7\u6c42\u3001\u7b2c\u4e09\u65b9\u63a5\u53e3\u8c03\u7528&#xff0c;\u90fd\u4f1a\u5148\u7ecf\u8fc7\u7f51\u5173\u518d\u8f6c\u53d1\u5230\u5177\u4f53\u4e1a\u52a1\u670d\u52a1\u3002\u5f88\u591a\u521d\u5b66\u5fae\u670d\u52a1\u7684\u670b\u53cb&#xff0c;\u53ea\u662f\u7b80\u5355\u914d\u7f6e\u4e00\u4e0b\u8def\u7531\u8f6c\u53d1&#xff0c;\u5c31\u76f4\u63a5\u4e0a\u7ebf\u9879\u76ee&#xff0c;\u5b8c\u5168\u6ca1\u7528\u5230\u7f51\u5173\u7684\u6838\u5fc3\u80fd\u529b\u3002\u7b49\u5230\u7ebf\u4e0a\u51fa\u73b0\u63a5\u53e3\u88ab\u5237\u3001\u672a\u6388\u6743\u8bbf\u95ee\u3001\u7248\u672c\u8fed\u4ee3\u4e0d\u6562\u7070\u5ea6\u3001\u9ad8\u5e76\u53d1\u6253\u57ae\u670d\u52a1\u7b49\u95ee\u9898&#xff0c;\u624d\u53d1\u73b0\u7f51\u5173\u5c11\u505a\u4e86\u4e09\u5c42\u6838\u5fc3\u9632\u62a4&#xff1a;\u9650\u6d41\u3001\u7edf\u4e00\u9274\u6743\u3001\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/91577.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-07T16:48:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807164837-6a760c659fb47.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/91577.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/91577.html\",\"name\":\"\u5fae\u670d\u52a1\u7f51\u5173Gateway\u5b9e\u6218\uff1a\u9650\u6d41\u3001\u9274\u6743\u3001\u7070\u5ea6\u53d1\u5e03\u4e00\u7ad9\u5f0f\u5b9e\u73b0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-07T16:48:39+00:00\",\"dateModified\":\"2026-08-07T16:48:39+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/91577.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/91577.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/91577.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5fae\u670d\u52a1\u7f51\u5173Gateway\u5b9e\u6218\uff1a\u9650\u6d41\u3001\u9274\u6743\u3001\u7070\u5ea6\u53d1\u5e03\u4e00\u7ad9\u5f0f\u5b9e\u73b0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5fae\u670d\u52a1\u7f51\u5173Gateway\u5b9e\u6218\uff1a\u9650\u6d41\u3001\u9274\u6743\u3001\u7070\u5ea6\u53d1\u5e03\u4e00\u7ad9\u5f0f\u5b9e\u73b0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/91577.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5fae\u670d\u52a1\u7f51\u5173Gateway\u5b9e\u6218\uff1a\u9650\u6d41\u3001\u9274\u6743\u3001\u7070\u5ea6\u53d1\u5e03\u4e00\u7ad9\u5f0f\u5b9e\u73b0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u505a\u5fae\u670d\u52a1\u5f00\u53d1\u7684\u540c\u5b66\u5e94\u8be5\u90fd\u6e05\u695a&#xff0c;SpringCloud Gateway \u51e0\u4e4e\u662f\u76ee\u524d\u5fae\u670d\u52a1\u67b6\u6784\u7684\u7edf\u4e00\u5165\u53e3\u6838\u5fc3\u3002\u6240\u6709\u524d\u7aef\u8bf7\u6c42\u3001\u7b2c\u4e09\u65b9\u63a5\u53e3\u8c03\u7528&#xff0c;\u90fd\u4f1a\u5148\u7ecf\u8fc7\u7f51\u5173\u518d\u8f6c\u53d1\u5230\u5177\u4f53\u4e1a\u52a1\u670d\u52a1\u3002\u5f88\u591a\u521d\u5b66\u5fae\u670d\u52a1\u7684\u670b\u53cb&#xff0c;\u53ea\u662f\u7b80\u5355\u914d\u7f6e\u4e00\u4e0b\u8def\u7531\u8f6c\u53d1&#xff0c;\u5c31\u76f4\u63a5\u4e0a\u7ebf\u9879\u76ee&#xff0c;\u5b8c\u5168\u6ca1\u7528\u5230\u7f51\u5173\u7684\u6838\u5fc3\u80fd\u529b\u3002\u7b49\u5230\u7ebf\u4e0a\u51fa\u73b0\u63a5\u53e3\u88ab\u5237\u3001\u672a\u6388\u6743\u8bbf\u95ee\u3001\u7248\u672c\u8fed\u4ee3\u4e0d\u6562\u7070\u5ea6\u3001\u9ad8\u5e76\u53d1\u6253\u57ae\u670d\u52a1\u7b49\u95ee\u9898&#xff0c;\u624d\u53d1\u73b0\u7f51\u5173\u5c11\u505a\u4e86\u4e09\u5c42\u6838\u5fc3\u9632\u62a4&#xff1a;\u9650\u6d41\u3001\u7edf\u4e00\u9274\u6743\u3001","og_url":"https:\/\/www.wsisp.com\/helps\/91577.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-07T16:48:39+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260807164837-6a760c659fb47.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"7 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/91577.html","url":"https:\/\/www.wsisp.com\/helps\/91577.html","name":"\u5fae\u670d\u52a1\u7f51\u5173Gateway\u5b9e\u6218\uff1a\u9650\u6d41\u3001\u9274\u6743\u3001\u7070\u5ea6\u53d1\u5e03\u4e00\u7ad9\u5f0f\u5b9e\u73b0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-07T16:48:39+00:00","dateModified":"2026-08-07T16:48:39+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/91577.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/91577.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/91577.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5fae\u670d\u52a1\u7f51\u5173Gateway\u5b9e\u6218\uff1a\u9650\u6d41\u3001\u9274\u6743\u3001\u7070\u5ea6\u53d1\u5e03\u4e00\u7ad9\u5f0f\u5b9e\u73b0"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/91577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=91577"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/91577\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/91576"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=91577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=91577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=91577"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=91577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}