//[SupportFilter]
        public HttpResponseMessage GetItemAll(dynamic obj)
        {
            string result = string.Empty;

            try
            {
                if (Convert.ToString(obj.modeltype) != "" || Convert.ToString(obj.modeltype) != null)
                {
                    if (obj.typetwo == null)
                    {
                        DataTable dt = rule.GetItem(Convert.ToString(obj.modeltype));
                        result = rule.JsonStr("ok", "", dt);
                    }
                    else
                    {
                        DataTable dt = rule.GetItembytype(Convert.ToString(obj.typetwo));
                        result = rule.JsonStr("ok", "", dt);
                    }
                }
                else
                {
                    result = rule.JsonStr("error", "参数错误", "");
                }
            }
            catch (Exception e)
            {
                result = rule.JsonStr("error", e.Message, "");
            }
            return(new HttpResponseMessage {
                Content = new StringContent(result, System.Text.Encoding.UTF8, "application/json")
            });
        }