def env=(env)
      @env  = env
      uri   = URI.parse(env)
      @http = Net::HTTP.new(uri.host, uri.port)
      # HTTPS
      if uri.scheme == "https"
        @http.use_ssl     = true
        @http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      end
    end
def env=(env)
      @env  = env
      uri   = URI.parse(env)
      @http = Net::HTTP.new(uri.host, uri.port)
      # HTTPS
      if uri.scheme == "https"
        @http.use_ssl     = true
        @http.verify_mode = OpenSSL::SSL::VERIFY_NONE
      end
    end
@param [String] appid
 @param [String] appkey
 @param [String] env 调用的环境地址

 @example
   OpenQq::Gateway.new('1111', '2222', 'http://119.147.19.43')
   OpenQq::Gateway.new('1111', '2222', 'https://openapi.tencentyun.com')
 override