コード例 #1
0
        /// <summary>
        /// 获取定向计划商品
        /// </summary>
        /// <param name="haoDanKu_GetOrienteeringItemsRequest"></param>
        public HaoDanKu_GetOrienteeringItemsResponse GetOrienteeringItems(HaoDanKu_GetOrienteeringItemsRequest haoDanKu_GetOrienteeringItemsRequest)
        {
            HaoDanKu_GetOrienteeringItemsResponse haoDanKu_GetOrienteeringItemsResponse = null;

            try
            {
                string requestParam  = haoDanKu_GetOrienteeringItemsRequest.ModelToUriParam();
                string resultContent = GetRequestResult(requestParam, "get_orienteeringitems");

                haoDanKu_GetOrienteeringItemsResponse = resultContent.ToJsonObject <HaoDanKu_GetOrienteeringItemsResponse>();
            }
            catch (Exception ex)
            {
                LogHelper.WriteException("GetOrienteeringItems", ex);
            }
            return(haoDanKu_GetOrienteeringItemsResponse);
        }