Joke Collection Website - Blessing messages - How to prevent simulated post control background

How to prevent simulated post control background

For example, simulate post submission and control the background to send SMS verification codes.

$.ajax({

type: "post",

datatype: "json",

async: false,

url: loginbaseUrl '/user/getPhoneValidateCode',

success: function(msg){

},

error: function( ){

str_reuslt="fail";

}

});

Send your own js registered users directly via SMS The code, as a simulated js, is taken out and made into a js, which is constantly submitted to the background and sent text messages.