From 93312a2ec05d15d46ad8f24f723b55e8ac599888 Mon Sep 17 00:00:00 2001 From: duhe <226547893@qq.com> Date: 星期一, 28 七月 2025 10:20:35 +0800 Subject: [PATCH] 自定义菜单:当用户自定义与角色自定义不存在时,增加admin自定义 --- WebAPI/Controllers/LMESController.cs | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/WebAPI/Controllers/LMESController.cs b/WebAPI/Controllers/LMESController.cs index 855bf86..a110b64 100644 --- a/WebAPI/Controllers/LMESController.cs +++ b/WebAPI/Controllers/LMESController.cs @@ -4188,5 +4188,36 @@ } } #endregion + + #region 鏇存柊app + /// <summary> + ///鍙傛暟锛歴tring HInterID銆� + ///杩斿洖鍊硷細object銆� + /// </summary> + [Route("LMES/AppUpdate")] + [HttpGet] + public object AppUpdate(string Type) + { + try + { + DataSet ds; + ds = oCN.RunProcReturn("exec h_p_Gy_APPUpdateInformation " + Type , "h_p_Gy_APPUpdateInformation"); + + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "Sucess"; + objJsonResult.data = ds.Tables[0]; + return objJsonResult; + } + catch (Exception e) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "Exception锛�" + e.ToString(); + objJsonResult.data = null; + return objJsonResult; + } + } + #endregion } } \ No newline at end of file -- Gitblit v1.9.1