From fcdc6185ce8dbfa784d5986244f38996ee71d31c Mon Sep 17 00:00:00 2001 From: caojianbin <1910336823> Date: Tue, 26 Jul 2022 10:09:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E5=85=B3=E5=9B=BD=E9=99=85=E5=8C=96?= =?UTF-8?q?=E6=94=B9=E9=80=A003?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/gateway/constant/MessagesConstant.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-gateway/src/main/java/com/ruoyi/gateway/constant/MessagesConstant.java b/ruoyi-gateway/src/main/java/com/ruoyi/gateway/constant/MessagesConstant.java index 2f59a0c..5763dbc 100644 --- a/ruoyi-gateway/src/main/java/com/ruoyi/gateway/constant/MessagesConstant.java +++ b/ruoyi-gateway/src/main/java/com/ruoyi/gateway/constant/MessagesConstant.java @@ -52,7 +52,7 @@ public class MessagesConstant { String msg=en_msg; ServerHttpRequest request = exchange.getRequest(); if (request.getHeaders().containsKey(MessagesConstant.HEADER_KEY)) { - String zh = exchange.getRequest().getHeaders().getFirst(MessagesConstant.Language_ZH); + String zh = exchange.getRequest().getHeaders().getFirst(MessagesConstant.HEADER_KEY); if (MessagesConstant.Language_ZH.equals(zh)) { msg = zh_msg; } else {