Beispiel #1
0
        /// <summary>
        /// 视频列表
        /// </summary>
        /// <returns></returns>
        public async Task <ActionResult> List()
        {
            var result = await YSAPIManager.GetVideoList(accessToken, 0, 50);

            return(View(result.data));
        }
Beispiel #2
0
        public async Task TestGetVideoList()
        {
            var result = await YSAPIManager.GetVideoList(accessToken, 0, 50);

            Assert.IsTrue(result.code.Equals("200"));
        }