Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client 这种问题的出现是由于,node每次只能返回一次res.send(),如果返回多次就会报这样的错。