SchoolPhysicalExamination/application/route.php

43 lines
2.2 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
// var_dump(10);
use think\Route;
// // ################################################################下载################################################################
// // ################################################################下载################################################################
//下载页
Route::get('/download', 'app/download/demo');
// // ################################################################管理后台################################################################
// // ################################################################管理后台################################################################
// // // 管理后台登录
// // Route::get('/admin/login', 'admin/login/login');
// // Route::post('/admin/login_action', 'admin/login/login_action');
// // // 管理后台首页
// // Route::get('/admin/index', 'admin/index/index');
// // Route::get('/admin/welcome', 'admin/index/welcome');
// // // APP账号角色管理
// // // APP账号数据列表
// // Route::get('/admin/member_list', 'admin/member/member_list');
// // Route::get('/admin/user_list', 'admin/member/user_list');
// // ################################################################APP接口################################################################
// // ################################################################APP接口################################################################
// 处理404错误 z
Route::miss(function(){
return '404 Not Foundout';
// 或者你可以重定向到一个错误页面,或者进行其他处理
});