1.静态资源访问,需要设置路由和响应标头 2.url模块.path模块.querystring模块 Url { protocol: null, slashes: null, auth: null, host: null, port: null, hostname: null, hash: null, search: '?id=10021', query: 'id=10021', pathname: '/a.html', path: '/a.html?id=10021', href: '/a.ht…