PHPz2017-04-17 14:54:39
According to the error message given by the console, the first parameter of the send method must be a legal status code
天蓬老师2017-04-17 14:54:39
The code is not truncated. Judging from the error message, there are two problems here
Key issue: The uploaded status
is illegal. Just check the corresponding code.
Non-critical issue: res.send(status, body): This method is no longer recommended to be used in this way. The recommended usage method has been given in the error message.