Ajax using jsonp to solve cross-domain problems doesn't work. What's going on?

ajax encapsulates a method, which can be used normally in the same domain. It still doesn"t work to change dataType to "jsonp" after cross-domain. What"s wrong with it? The code is as follows:
SendGetMessage (uri, args = {}, callBack) {

    args["test"] = 1;
    let URL = TEST_SERVERE_URL;
    $.ajax({
        type: "GET",
        url: URL + uri + "?t=" + Math.random(),
        data: args,            
        dataType: "jsonp",
        success: function(response) {
            callBack(response);
        }
});
The data,F12 returned by

},
console request returns an error as follows

clipboard.png

Apr.21,2021

does the backend interface support jsonp? if the backend only migrates the code and does not support jsonp, it will not work.


if you want to cross-domain, the first problem you need to solve is url. You have to make sure that this address is correct. When you look at your code, you feel that there is something wrong with url, and that is, cross-domain requests may have the problem of overconfiguration. I hope it will be useful to you

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c071ea-32852.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c071ea-32852.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?