赛事详情
This commit is contained in:
parent
7ccd2e22e5
commit
efe79745ce
@ -121,6 +121,11 @@ public class EventUnitDto
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public UnitType UnitType { get; set; }
|
public UnitType UnitType { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 自定义单位类型(当需要自定义时使用,优先显示此字段)
|
||||||
|
/// </summary>
|
||||||
|
public string? CustomUnitType { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 单位名称
|
/// 单位名称
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -130,6 +135,11 @@ public class EventUnitDto
|
|||||||
/// Logo图片地址
|
/// Logo图片地址
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string LogoUrl { get; set; }
|
public string LogoUrl { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 排序
|
||||||
|
/// </summary>
|
||||||
|
public int Sort { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@ -482,8 +482,10 @@ public class EventClientController : IDynamicApiController
|
|||||||
Units = units.Select(u => new YD_Event.Application.Client.Dtos.EventUnitDto
|
Units = units.Select(u => new YD_Event.Application.Client.Dtos.EventUnitDto
|
||||||
{
|
{
|
||||||
UnitType = u.UnitType,
|
UnitType = u.UnitType,
|
||||||
|
CustomUnitType = u.CustomUnitType,
|
||||||
UnitName = u.UnitName,
|
UnitName = u.UnitName,
|
||||||
LogoUrl = u.LogoUrl
|
LogoUrl = u.LogoUrl,
|
||||||
|
Sort = u.Sort
|
||||||
}).ToList(),
|
}).ToList(),
|
||||||
|
|
||||||
Projects = eventProjects.Select(ep =>
|
Projects = eventProjects.Select(ep =>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user