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; }