fix 恢复可操作

This commit is contained in:
2024-06-14 21:19:09 +08:00
parent cff1e55c52
commit 0c8bddbcd9

View File

@@ -33,11 +33,11 @@ public class DevicePermissionService : IDevicePermissionService
public async Task AssignAsync(DevicePermissionSaveRequest request)
{
if (_currentUser.GetStringSubjectId() != "14")
{
throw new Exception("系统维护中,暂不可操作");
}
// if (_currentUser.GetStringSubjectId() != "14")
// {
// throw new Exception("系统维护中,暂不可操作");
// }
//
var tenantId = request.AssignType == AssignTypeEnumType.Department ? request.TenantId : _currentUser.GetStringTenantId();