Error when importing traits
葫芦娃平衡盘
葫芦娃平衡盘 2018-01-28 21:47:33
0
1
1111

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


葫芦娃平衡盘
葫芦娃平衡盘

reply all (1)
黄立文

I know why Jump J is not capitalized

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!