release: 获取不显示专栏的版本号

release-2024-04-25
huangyw 4 weeks ago
parent ea6647d422
commit 285e50cf8c

@ -26,7 +26,7 @@ public class EnvConfig {
@ApiModelProperty(value = "永久会员积分抽奖折扣")
private Float permanentMemberDiscount;
@ApiModelProperty(value = "是否显示专栏 1-显示 2-不显示")
private Integer showColumnFlag;
@ApiModelProperty(value = "不显示专栏的版本号")
private Integer showColumnVersion;
}

@ -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<Integer> showColumnFlag() {
return Result.success(envConfig.getShowColumnFlag());
return Result.success(envConfig.getShowColumnVersion());
}
}

Loading…
Cancel
Save