fix 恢复可操作
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user