From a4d873761dd03a74950d05f204171255509bd5fb Mon Sep 17 00:00:00 2001 From: zhibing.pu <393733352@qq.com> Date: 星期一, 17 六月 2024 16:03:35 +0800 Subject: [PATCH] 修改 bug --- cloud-server-gateway/src/main/java/cn/mb/cloud/gateway/GatewayApplication.java | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/cloud-server-gateway/src/main/java/cn/mb/cloud/gateway/GatewayApplication.java b/cloud-server-gateway/src/main/java/cn/mb/cloud/gateway/GatewayApplication.java index 105c393..4eb0376 100644 --- a/cloud-server-gateway/src/main/java/cn/mb/cloud/gateway/GatewayApplication.java +++ b/cloud-server-gateway/src/main/java/cn/mb/cloud/gateway/GatewayApplication.java @@ -12,7 +12,6 @@ * @author jason * 网关应用 */ - @MBCloudApplication @ComponentScan({"cn.mb.cloud"}) public class GatewayApplication { @@ -23,6 +22,6 @@ @PostConstruct void started() { - TimeZone.setDefault(TimeZone.getTimeZone("GMT+7")); + TimeZone.setDefault(TimeZone.getTimeZone("GMT+8")); } } -- Gitblit v1.7.1