After logging in to WeEngine, directly jump to the application backend

WeEngine version: v2.5.4

Under the root directory \web\source\user\login.ctrl.php

Find at the bottom

itoast("Welcome back, {$record['username']}", $forward, 'success');

Add the following code in front

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

Finally

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

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