No error is reported when logging in and the submission is not redirected, just on the original webpage
华先生º2018-01-10 20:01:09
This depends on whether you have set the error level and the error mechanism of TP5. If setting errors, please add error_reporting(E_ERROR | E_WARNING | E_PARSE);
in admin/common.php老悦要发达2017-11-28 22:52:48
Comment out the part written to the database and use the ajax of the login template
if (data.status == 1) {
alert(data.message );
window.location.href = "{:url('index/index')}";
} else {
alert(data.message);
window.location.href = "{:url('login/index')}";
}