ajax:
![clipboard.png](/img/bV9nQe
look forward to pointing out my mistakes
ajax:
![clipboard.png](/img/bV9nQe
look forward to pointing out my mistakes
the jsonp, you use returns json
you use jsonp to solve cross-domain problems, but the interface data returns not jsonp data format, but json, so there is an error reading. As shown in the figure is correct:
isn't your url supposed to be port 8081
is it a symbol error
ajax error: function(jqXHR, textStatus, errorThrown) { errorGo(textStatus, errorThrown); }, errorGO () function errorGO(status, error){ console.log( textStatus: %s, errorThrown: %s , status, error, location, type); alert( Something ...
the front and back ends are developed separately, and ajax is used to access the background interface. solved this cross-domain problem for the first time, and I don t know what went wrong. there is really nothing I can do. js Code url: v1 user ...