public void SelectHomeSeckillDataAsync()
 {
     using (var client = new FlashSaleClient())
     {
         var request = new SelectHomeSecKillRequest
         {
             //scheduleDate = DateTime.Parse("2018-09-18")
         };
         var result = client.SelectHomeSeckillData(request);
         Assert.IsNotNull(result.Result);
     }
 }
Exemple #2
0
 /// <inheritdoc />
 /// <summary>
 /// 查询首页天天秒杀数据
 /// </summary>
 /// <param name="request">查询个数</param>
 /// <returns></returns>
 public async Task <OperationResult <List <FlashSaleModel> > > SelectHomeSeckillDataAsync(SelectHomeSecKillRequest request)
 {
     return(await OperationResult.FromResultAsync(FlashSaleManager.SelectHomeSeckillDataWithMemoryAsync(request)));
 }