微擎登录后,直接跳转到应用后台

2,196次阅读
没有评论

共计 348 个字符,预计需要花费 1 分钟才能阅读完成。

微擎版本: v2.5.4

根目录 \web\source\user\login.ctrl.php

底部找到

itoast(" 欢迎回来,{$record['username']}", $forward,'success');

代码, 在前面添加

$forward ='./index.php?c=home&a=welcome&do=ext&m= 模块名称 ';

最终

$forward ='./index.php?c=home&a=welcome&do=ext&m= 模块名称 ';
		if ($_W['isajax']) {iajax(0, "欢迎回来,{$record['username']}", $forward);
		}
		itoast("欢迎回来,{$record['username']}", $forward, 'success');

 

 

微擎登录后, 直接跳转到应用后台

 

正文完
 0
评论(没有评论)