報(bào)錯(cuò)信息前端代碼var obj = $("input[name=mobile]");var jsondata = {"phone":obj.val()};$.post("http://localhost:80/api/user/register/captcha", JSON.stringify(jsondata), function(ret) { if (ret.status == 0) { popup(ret.info); return false; } $("input[name=vcode]").removeAttr('disabled'); _status(60);}, 'json');我用postman可以正常使用接口,但是ajax不行。
fastjson報(bào)錯(cuò)信息為:syntax error, expect {, actual error
慕碼人8056858
2019-02-06 14:46:28