变量的更改

This commit is contained in:
2025-07-04 22:16:28 +08:00
parent 61035aaf2e
commit f703e18523
28 changed files with 3758 additions and 1525 deletions

View File

@@ -55,5 +55,14 @@ namespace CapMachine.Core
ConfigurationManager.AppSettings.Remove(key);
}
/// <summary>
/// 判断Key是否存在
/// </summary>
/// <param name="key"></param>
/// <returns></returns>
public static bool IsExist(string key)
{
return ConfigurationManager.AppSettings[key] != null;
}
}
}