@ -26,4 +26,7 @@ public class EnvConfig {
@ApiModelProperty(value = "永久会员积分抽奖折扣")
private Float permanentMemberDiscount;
@ApiModelProperty(value = "是否显示专栏 1-显示 2-不显示")
private Integer showColumnFlag;
}
@ -469,4 +469,10 @@ public class LoginController extends BaseController {
@ApiOperation(value = "获取是否显示专栏", notes = "1-显示 2-不显示")
@GetMapping("/showColumnFlag")
public Result<Integer> showColumnFlag() {
return Result.success(envConfig.getShowColumnFlag());