We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Welcome to the res.api wiki!
Api说明
return res.api(data);
return res.api(data, { code : 1, msg : 'delete failed!' });
return res.api(404 , err, { code : 1, msg : 'delete failed!' });
return res.api_error(err);
像速度限制之类的可以自行增加,参加 http://blog.jobbole.com/41233/