예제 #1
0
파일: MallApi.cs 프로젝트: gazi001/WebAPI
        /// <summary>
        /// 获取底部
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        public static GetGetbuttomResult Getbuttom_info_json(GetCarouselFigureModel data)
        {
            var result = service.Getbuttom_info_json("", "", data.hotelcode);

            result = CommonFunction.Replacebracket(result);
            var obj = JsonConvert.DeserializeObject <List <GetGetbuttomResult> >(result)[0];

            return(obj);
        }
예제 #2
0
파일: MallApi.cs 프로젝트: gazi001/WebAPI
        /// <summary>
        /// 获取轮播图
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        public static GetCarouselFigureResult Getlp_img_json(GetCarouselFigureModel data)
        {
            string imgdetails = service.Getlp_img_json(data.user, data.token, data.hotelcode);

            imgdetails = CommonFunction.Replacebracket(imgdetails);
            var json = JsonConvert.DeserializeObject <List <GetCarouselFigureResult> >(imgdetails)[0];

            return(json);
        }