修改问题
This commit is contained in:
parent
fa8983d242
commit
add717cbf6
|
|
@ -391,6 +391,7 @@ namespace CloudGaming.Code.Account
|
|||
{
|
||||
userInfoDto.IdCard = userInfoDto.IdCard.Substring(0, 4) + "*********" + userInfoDto.IdCard.Substring(userInfoDto.IdCard.Length - 4);
|
||||
}
|
||||
var userPlayGameTime = Dao.DaoPhone.Context.T_User_PlayGameTime.Where(it => it.UserId == _UserId).SumAsync(it => (int?)it.PlayTime);
|
||||
return userInfoDto;
|
||||
}
|
||||
|
||||
|
|
@ -531,7 +532,7 @@ namespace CloudGaming.Code.Account
|
|||
Ip = HttpContextAccessor.HttpContext.GetClientIpAddress()
|
||||
};
|
||||
await this.UserConsumeDiamondMoneyAsync(UserCurrencyType.钻石, 10, "实名认证赠送");
|
||||
await this.SendUserMessageAsync("实名认证赠送",$"实名认证成功!您已获得钻石*{10}");
|
||||
await this.SendUserMessageAsync("实名认证赠送", $"实名认证成功!您已获得钻石*{10}");
|
||||
|
||||
await Dao.DaoUser.Context.T_User_LimitActionLog.AddAsync(limitActionLog);
|
||||
await Dao.DaoUser.Context.SaveChangesAsync();
|
||||
|
|
|
|||
|
|
@ -520,7 +520,7 @@ public class PlayGameBLL : CloudGamingBase
|
|||
}
|
||||
return null;
|
||||
}
|
||||
throw response.ToMessageBox();
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -524,6 +524,7 @@ namespace CloudGaming.Code.Game
|
|||
PlayTime = 0,
|
||||
UpdateTime = DateTime.Now,
|
||||
UserId = userId,
|
||||
|
||||
};
|
||||
await dao.DaoPhone.Context.T_User_PlayGameTime.AddAsync(playGameTime);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user