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