From a057b7a4b94b77e91e5d3a1e7a2296c79446815f Mon Sep 17 00:00:00 2001
From: runphp <runphp@qq.com>
Date: Thu, 29 Sep 2022 18:16:11 +0800
Subject: [PATCH] fix: 改为静态方法, isError和isSuccess方法会被json序列化 isError和isSuccess会被json序列化 `{"error":false,"success":true}`
---
ruoyi-gateway/pom.xml | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/ruoyi-gateway/pom.xml b/ruoyi-gateway/pom.xml
index fc1d58c..2aaa5de 100644
--- a/ruoyi-gateway/pom.xml
+++ b/ruoyi-gateway/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi</artifactId>
- <version>3.4.0</version>
+ <version>3.6.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -57,6 +57,12 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
+
+ <!-- SpringCloud Loadbalancer -->
+ <dependency>
+ <groupId>org.springframework.cloud</groupId>
+ <artifactId>spring-cloud-loadbalancer</artifactId>
+ </dependency>
<!--验证码 -->
<dependency>
--
Gitblit v1.9.3