release: 获取是否显示专栏

release-2024-04-25
huangyw 4 weeks ago
parent 362ba6d642
commit ea6647d422

@ -26,4 +26,7 @@ public class EnvConfig {
@ApiModelProperty(value = "永久会员积分抽奖折扣") @ApiModelProperty(value = "永久会员积分抽奖折扣")
private Float permanentMemberDiscount; 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());
}
} }

Loading…
Cancel
Save