This commit is contained in:
liangjunyu
2025-09-19 10:04:01 +08:00
parent 0ec9c70e60
commit 63b5b02b23
3 changed files with 48 additions and 5 deletions

View File

@@ -14,13 +14,13 @@ namespace RB_MES_API.Context
/// </summary>
public static class LocalStaticRequest
{
public static K3CloudApi cloudApi { get; set; }=new K3CloudApi();
public static K3CloudApi cloudApi { get; set; } = new K3CloudApi();
public static bool Islogin { get; set; } = false;
public static string LoginMsg { get; set; }=string.Empty;
public static string LoginMsg { get; set; } = string.Empty;
public static bool NeedRefresh { get; set; } = true;
public static List<int> HashCode { get; set; }= new List<int>();
public static List<int> HashCode { get; set; } = new List<int>();
public static List<SystemProfile> sysprofile = new List<SystemProfile>();
public static string GetSystemProfile(int categoryid,string key)
public static string GetSystemProfile(int categoryid, string key)
{
if (sysprofile.Any(s => s.FCategoryID == categoryid && s.FKey == key))
{