From 285e50cf8c89b04f25d42fe515f8f0484f2ab204 Mon Sep 17 00:00:00 2001 From: huangyw <1207046171@qq.com> Date: Fri, 25 Oct 2024 15:08:27 +0800 Subject: [PATCH] =?UTF-8?q?release:=20=20=E8=8E=B7=E5=8F=96=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=93=E6=A0=8F=E7=9A=84=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- luoo_user/src/main/java/com/luoo/user/config/EnvConfig.java | 4 ++-- .../main/java/com/luoo/user/controller/LoginController.java | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/luoo_user/src/main/java/com/luoo/user/config/EnvConfig.java b/luoo_user/src/main/java/com/luoo/user/config/EnvConfig.java index 3d6ffd1..2db562c 100644 --- a/luoo_user/src/main/java/com/luoo/user/config/EnvConfig.java +++ b/luoo_user/src/main/java/com/luoo/user/config/EnvConfig.java @@ -26,7 +26,7 @@ public class EnvConfig { @ApiModelProperty(value = "永久会员积分抽奖折扣") private Float permanentMemberDiscount; - @ApiModelProperty(value = "是否显示专栏 1-显示 2-不显示") - private Integer showColumnFlag; + @ApiModelProperty(value = "不显示专栏的版本号") + private Integer showColumnVersion; } diff --git a/luoo_user/src/main/java/com/luoo/user/controller/LoginController.java b/luoo_user/src/main/java/com/luoo/user/controller/LoginController.java index 8f8a665..140dad9 100644 --- a/luoo_user/src/main/java/com/luoo/user/controller/LoginController.java +++ b/luoo_user/src/main/java/com/luoo/user/controller/LoginController.java @@ -469,10 +469,10 @@ public class LoginController extends BaseController { } } - @ApiOperation(value = "获取是否显示专栏", notes = "1-显示 2-不显示") - @GetMapping("/showColumnFlag") + @ApiOperation(value = "获取不显示专栏的版本号", notes = "1-显示 2-不显示") + @GetMapping("/showColumnVersion") public Result showColumnFlag() { - return Result.success(envConfig.getShowColumnFlag()); + return Result.success(envConfig.getShowColumnVersion()); } }