Ejemplo n.º 1
0
 public void TestInitialize()
 {
     _client  = new ActivityClient();
     _request = new ActivityPageInfoModuleBaseRequest()
     {
         HashKey = "0C96F72A",
         Channel = "wap"
     };
 }
Ejemplo n.º 2
0
        public void TestImage()
        {
            var requestImage = new ActivityPageInfoModuleBaseRequest()
            {
                HashKey = "0C96F72A",
                Channel = "wap",
                //RowNums = new List<string>
                //{
                //    "20180516102214773",
                //    "20180516102409139",
                //    "20180516102551813"
                //}
            };
            var result = _client.GetActivityPageInfoRowImages(requestImage);

            result.ThrowIfException(true);
            Assert.IsNotNull(result.Result);
        }
Ejemplo n.º 3
0
 public async Task <OperationResult <List <ActivityPageInfoRowSeckill> > > GetActivityPageInfoRowSeckillsAsync(ActivityPageInfoModuleBaseRequest request)
 {
     return(OperationResult.FromResult(await new ActivityPageInfoSeckillManager().GetActivityPageInfoRowByTypes(request)));
 }