예제 #1
0
        public Task <AsyncTaskResult> HandleAsync(AcceptedChildStoreSaleBenevolenceEvent evnt)
        {
            var number = DateTime.Now.ToSerialNumber();

            return(_commandService.SendAsync(new CreateBenevolenceTransferCommand(
                                                 GuidUtil.NewSequentialId(),
                                                 evnt.WalletId,
                                                 number,
                                                 BenevolenceTransferType.RecommendStoreAward,
                                                 BenevolenceTransferStatus.Placed,
                                                 evnt.Amount,
                                                 0,
                                                 WalletDirection.In,
                                                 "推荐商家售货激励")));
        }
예제 #2
0
파일: User.cs 프로젝트: zanderphh/Shop
 private void Handle(AcceptedChildStoreSaleBenevolenceEvent evnt)
 {
 }