ajax请求200却进入error
<p>{"code":"0","data":{"id":0,"userName":"愿被世界温柔以待","account":"admin","password":null,"sex":"MAN","phone":"18362945527","email":"3248996258@qq.com","birthdate":null,"sign":null,"headPhoto":"<a href="https://www.ttblog.site/bf/2020/6/28/touxiang.jpg%22,%22createTime%22:null,%22updateTime%22:null,%22valid%22:false%7D,%22message%22:%22" target="_blank">https://www.ttblog.site/bf/2020/6/28/touxiang.jpg","createTime":null,"updateTime":null,"valid":false},"message":"</a>"}</p>
<p>以上是api返回对象,可是ajax请求时进入error,显示parseerror</p>
回答
已解决,是因为全局ajax处理程序中的return不能少,不知道为啥子