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

微擎版本: v2.5.4

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

底部找到

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

代码,在前面添加

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

最终

isetcookie('__uid', '1', 7 * 86400);
isetcookie('__uniacid', '2', 7 * 86400);

$forward ='./index.php?c=home&a=welcome&do=ext&m=xxx';
itoast("欢迎回来,{$record['username']}。", $forward, 'success');