Compare commits
No commits in common. "df9fbe55c4aae2faf9e72d890f05d4c893ba82d2" and "bc901d928f7a5bf0c10f9c9eecdc7ccfcd3b3d23" have entirely different histories.
df9fbe55c4
...
bc901d928f
|
|
@ -111,7 +111,7 @@ namespace WGShare.API.Controllers.Frontend
|
|||
|
||||
|
||||
var room = await _sqlSugar.Queryable<Room>().FirstAsync(x => x.RoomNum == inputDTO.RoomNum);
|
||||
if (room != null)
|
||||
if (room == null)
|
||||
{
|
||||
throw Oops.Oh("无效会议号,请重新输入");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -52,6 +52,6 @@ namespace WGShare.Domain.DTOs.Room
|
|||
/// <summary>
|
||||
/// 是否允许匿名
|
||||
/// </summary>
|
||||
public bool AllowAnonymous { get; set; } = true;
|
||||
public bool AllowAnonymous { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,5 @@ namespace WGShare.Domain.DTOs.Room
|
|||
/// 科目
|
||||
///</summary>
|
||||
public SubjectType Subject { get; set; }
|
||||
|
||||
public bool AllowAnonymous { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,6 +67,6 @@ namespace WGShare.Domain.Entities
|
|||
/// 是否允许匿名
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "allow_anonymous")]
|
||||
public bool AllowAnonymous { get; set; } = true;
|
||||
public bool AllowAnonymous { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue