赛事详情返回赛事状态
This commit is contained in:
parent
00253852a3
commit
77996f25f2
@ -133,6 +133,11 @@ public class UserEventDetailOutput
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string Status { get; set; }
|
public string Status { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 赛事状态枚举
|
||||||
|
/// </summary>
|
||||||
|
public YD_Event.Core.Enum.EventStatus EventStatus { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 赛事类型 (int: 0-线上, 1-线下)
|
/// 赛事类型 (int: 0-线上, 1-线下)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -220,6 +220,9 @@ public class UserEventRegistrationService : IDynamicApiController, ITransient
|
|||||||
output.Type = (int)eventInfo.EventType;
|
output.Type = (int)eventInfo.EventType;
|
||||||
output.RegistrationType = (int)eventInfo.RegistrationType;
|
output.RegistrationType = (int)eventInfo.RegistrationType;
|
||||||
|
|
||||||
|
// 设置赛事状态
|
||||||
|
output.EventStatus = eventInfo.EventStatus;
|
||||||
|
|
||||||
output.IsNeedMaterial = eventInfo.IsNeedMaterial;
|
output.IsNeedMaterial = eventInfo.IsNeedMaterial;
|
||||||
output.MaterialRemark = eventInfo.MaterialRemark;
|
output.MaterialRemark = eventInfo.MaterialRemark;
|
||||||
output.MaterialUploadEndTime = eventInfo.MaterialUploadEndTime;
|
output.MaterialUploadEndTime = eventInfo.MaterialUploadEndTime;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user