示例#1
0
 public StoreController(ICommandService commandService,
                        StoreQueryService storeQueryService,
                        StoreOrderQueryService storeOrderQueryService,
                        GoodsQueryService goodsQueryService)
 {
     _commandService         = commandService;
     _storeQueryService      = storeQueryService;
     _storeOrderQueryService = storeOrderQueryService;
     _goodsQueryService      = goodsQueryService;
 }
示例#2
0
        private StoreQueryService _storeQueryService;           //商家

        public StatisticsController(ICommandService commandService,
                                    UserQueryService userQueryService,
                                    WalletQueryService walletQueryService,
                                    StoreOrderQueryService storeOrderQueryService,
                                    StoreQueryService storeQueryService)
        {
            _commandService         = commandService;
            _userQueryService       = userQueryService;
            _walletQueryService     = walletQueryService;
            _storeOrderQueryService = storeOrderQueryService;
            _storeQueryService      = storeQueryService;
        }
        private StoreOrderQueryService _storeOrderQueryService; //Q 端

        public StoreOrderController(ICommandService commandService,
                                    StoreOrderQueryService storeOrderQueryService)
        {
            _commandService         = commandService;
            _storeOrderQueryService = storeOrderQueryService;
        }