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()); } }