AR骑行beta
This commit is contained in:
1 parent
4d5bc8f080
commit
9b1bb3d9ba
45 files changed
+35055
-2401
No files matched your search
@@ -147,12 +147,15 @@ namespace Assets.Scripts.Apis.Models
|
||||
foreach (var item in list)
|
||||
{
|
||||
var user = userList.Where(c => c.Id == item.UserId).FirstOrDefault();
|
||||
item.WxHeadImage = user?.HeadImage;
|
||||
item.FTP = user.FTP;
|
||||
item.Weight = user.Weight;
|
||||
item.Name = user.Name;
|
||||
item.Sex = user.Sex;
|
||||
item.Country = user.Country;
|
||||
if (user != null)
|
||||
{
|
||||
item.WxHeadImage = user.HeadImage;
|
||||
item.FTP = user.FTP;
|
||||
item.Weight = user.Weight;
|
||||
item.Name = user.Name;
|
||||
item.Sex = user.Sex;
|
||||
item.Country = user.Country;
|
||||
}
|
||||
}
|
||||
}
|
||||
return list;
|
||||
@@ -167,6 +170,11 @@ namespace Assets.Scripts.Apis.Models
|
||||
public int Rank { get; set; }
|
||||
public string Country { get; set; }
|
||||
public string TotalTime { get; set; }
|
||||
public string Power { get; set; }
|
||||
public string WeightKG{ get; set; }
|
||||
public string Gap { get; set; }
|
||||
public string Source { get; set; }
|
||||
public bool IsDNF { get; set; }
|
||||
public double? HeartRate { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -124,5 +124,6 @@ namespace Assets.Scripts.Apis.Models
|
||||
public string Url { get; set; }
|
||||
public string FileName { get; set; }
|
||||
public int FileSize { get; set; }
|
||||
public string ARConfig { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user