public Task <AsyncTaskResult> HandleAsync(UserGetChildCashEvent evnt) { //推荐奖励 var number = DateTime.Now.ToSerialNumber(); return(_commandService.SendAsync(new CreateCashTransferCommand( GuidUtil.NewSequentialId(), evnt.WalletId, number, CashTransferType.RecommendUserAward, CashTransferStatus.Placed, evnt.Amount, 0, WalletDirection.In, "推荐用户{0}度激励".FormatWith(evnt.Level)))); }
private void Handle(UserGetChildCashEvent evnt) { }