新增加验证码开关

This commit is contained in:
不做码农
2021-12-01 16:56:46 +08:00
parent 5e65941e15
commit e5bbf0b298
8 changed files with 42 additions and 7 deletions

View File

@@ -17,6 +17,7 @@ using ZR.Common;
using ZR.Service.System;
using ZR.Model.System;
using Infrastructure.Extensions;
using Microsoft.AspNetCore.Authorization;
namespace ZR.Admin.WebApi.Controllers
{
@@ -83,6 +84,7 @@ namespace ZR.Admin.WebApi.Controllers
/// <param name="configKey"></param>
/// <returns></returns>
[HttpGet("configKey/{configKey}")]
[AllowAnonymous]
public IActionResult GetConfigKey(string configKey)
{
//TODO 增加缓存