At 2 minutes and 55 seconds, according to the code, there is no response when clicking the login button.
咿呀咿呀哟
咿呀咿呀哟 2018-02-26 09:53:26
0
3
1139

public function checkLogin(Request $request){
//Initial return parameters
$status=0; //The current status defaults to 0, the request failed and did not pass verification
$result=''; //Return error message
$data = $request ->param();
return['status'=>$status,'message'=>$result,'data'=> $data];

}

<script>
$(function () {
//Add a click event to the login button
$("#login ").on('click',function (event) {
                                                                                                                                " )}", //Set the address of the submission data processing script file
                                                                                                                                                                                        to be submitted //Set the type of data submission to json
                                                                                                                        use       using ‐ ‐         use       ‐     ‐   ‐                                                             using ‐ to ’s ’ ’s ’ s ‐ ‐ ‐ ‐                                        
})
})
</script>



咿呀咿呀哟
咿呀咿呀哟

reply all(2)
浩瀚若宇

After searching for two hours, I finally found the key to this problem (at this time I had to say MMP to release my inner depression).

In the sentence "success:function (data) {//Only when the return flag is 1, it will be processed." Add a space before "//" to solve the problem.

I don’t know the specific principle, so I have to ask a god to answer it. .

  • reply It's true, I want to cry
    向来无感 author 2018-11-08 14:15:44
lge

No errors were reported

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template