hwh
2024-06-28 08a515946d6763b26746d593af76a8af9b1b4076
Wms/WMS.BLL/SysServer/RoleRightServer.cs
@@ -25,16 +25,14 @@
        /// <summary>
        /// 依赖注入
        /// </summary>
        public IRoleRightRepository _rolerights { get; set; }
        private static readonly SqlSugarScope Db = DataContext.Db;
        private readonly UserManager _userManager;
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="roles"></param>
        public RoleRightServer(IRoleRightRepository rolerights, UserManager userManager)
        public RoleRightServer(UserManager userManager)
        {
            _rolerights = rolerights;
            _userManager = userManager;
        }