diff --git a/Tiobon.Core.Api/Controllers/CommonController.cs b/Tiobon.Core.Api/Controllers/CommonController.cs
index c56302f1..44ac5ae6 100644
--- a/Tiobon.Core.Api/Controllers/CommonController.cs
+++ b/Tiobon.Core.Api/Controllers/CommonController.cs
@@ -34,4 +34,17 @@ public class CommonController : BaseApiController
return await _commonServices.GetMenuAsync(param);
}
#endregion
+
+ #region 获取菜单
+ ///
+ /// 获取菜单
+ ///
+ ///
+ ///
+ [HttpPost, Route("GetModuleInfo")]
+ public async Task> GetModuleInfoAsync([FromBody] ModuleParam param)
+ {
+ return await _commonServices.GetModuleInfoAsync(param);
+ }
+ #endregion
}
\ No newline at end of file
diff --git a/Tiobon.Core.Api/Tiobon.Core.xml b/Tiobon.Core.Api/Tiobon.Core.xml
index fecd742b..fc165fb3 100644
--- a/Tiobon.Core.Api/Tiobon.Core.xml
+++ b/Tiobon.Core.Api/Tiobon.Core.xml
@@ -230,6 +230,13 @@
+
+
+ 获取菜单
+
+
+
+
构造函数
diff --git a/Tiobon.Core.Common/DB/Dapper/Utilities/DbAccess.cs b/Tiobon.Core.Common/DB/Dapper/Utilities/DbAccess.cs
index 5610ffb8..fee6644b 100644
--- a/Tiobon.Core.Common/DB/Dapper/Utilities/DbAccess.cs
+++ b/Tiobon.Core.Common/DB/Dapper/Utilities/DbAccess.cs
@@ -100,14 +100,14 @@ public class DbAccess
public static object ExecuteScalar(string cmd, object param = null, CommandType? commandType = null, bool beginTransaction = false) => Instance.ExecuteScalar(cmd, param, commandType, beginTransaction);
public static async Task