更新后端

This commit is contained in:
云泽网
2025-05-19 00:46:05 +08:00
parent 4c6f7277b0
commit 11fe0b4357
28 changed files with 4644 additions and 134 deletions
@@ -1,4 +1,4 @@
<?php /*a:1:{s:49:"E:\Demo\PHP\yunzer\app\admin\view\login\index.php";i:1747321871;}*/ ?>
<?php /*a:1:{s:49:"E:\Demo\PHP\yunzer\app\admin\view\login\index.php";i:1747586453;}*/ ?>
<!DOCTYPE html>
<html lang="zh-CN">
@@ -41,7 +41,7 @@
</div>
<div class="layui-col-xs5">
<div style="margin-left:10px;">
<img src="<?php echo captcha_src(); ?>" class="layadmin-user-login-codeimg" id="img"
<img src="<?php echo captcha_src(); ?>?t=<?php echo time(); ?>" class="layadmin-user-login-codeimg" id="img"
onclick="reloadImg()">
</div>
</div>
@@ -76,7 +76,8 @@
});
// 重新生成验证码
function reloadImg() {
$('#img').attr('src', '<?php echo captcha_src(); ?>?rand=' + Math.random());
var timestamp = new Date().getTime();
$('#img').attr('src', '<?php echo captcha_src(); ?>?t=' + timestamp);
}
// 登录处理函数