修复新增参数管理时判断错误的问题

Signed-off-by: Rain <938448486@qq.com>
pull/305/head
Rain 2 years ago committed by Gitee
parent c42b4cad02
commit 89a04423cd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -83,7 +83,7 @@ public class SysConfigController extends BaseController
@PostMapping
public AjaxResult add(@Validated @RequestBody SysConfig config)
{
if (configService.checkConfigKeyUnique(config))
if (!configService.checkConfigKeyUnique(config))
{
return error("新增参数'" + config.getConfigName() + "'失败,参数键名已存在");
}

Loading…
Cancel
Save