|
@@ -43,7 +43,7 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
KxsMainModels.Users query = kxsdb.Users.FirstOrDefault(m => m.Id == Id) ?? new KxsMainModels.Users();
|
|
|
string IdString = Id.ToString();
|
|
|
Obj.Add("RealName", query.RealName); //真实姓名
|
|
|
- Obj.Add("HeadPhoto", DefaultPic(query.HeadPhoto)); //头像
|
|
|
+ Obj.Add("HeadPhoto", query.HeadPhoto); //头像
|
|
|
// Obj.Add("UserLevel", query.UserLevel); //创客实际等级
|
|
|
DateTime now = DateTime.Now;
|
|
|
UserRankWhite rank = maindb.UserRankWhite.FirstOrDefault(m => m.Id == Id && m.UpdateDate > now) ?? new UserRankWhite();
|