201响应为什么进了AJAX error回调函数 明明AJAX发送请求成功,但是后端返回的不是200,而是201,结果进了error的回调函数,想这种情况,只需要把“dataType:"json",改成dataType:"text", 就ok了