asp.net 中可以这样获取query string
httpContext.Request.QueryString["cateid"]
但在asp.net core中却报错
Cannot apply indexing with [] to an expression of type 'QueryString'
需要改用 Request.Query
httpContext.Request.Query["cateid"].FirstOrDefault();