Create a folder cate under the Controller, put index.php in cate, and then write the index method in index.php