namespace app\admin\controller;
class Index
{
use \traits\controller\jump;
public function index()
{
return 'HELLow';
}
public function test($name)
{
if($name=='php')
{
$this->success('Jumping','//m.sbmmt.com');
}
}
}
This is my code. I have checked it several times and found no problem. I just need to use \traits\controller\ jump; you can run it after logging out, otherwise an error will be reported
I know why Jump J is not capitalized