28 lines
1.3 KiB
PHP
28 lines
1.3 KiB
PHP
<?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>
|
|
// +----------------------------------------------------------------------
|
|
|
|
//系统设置路由
|
|
Route::resource('xueqi','teach/Xueqi');
|
|
Route::resource('kaoshi','teach/Kaoshi');
|
|
Route::resource('subject','teach/Subject');
|
|
Route::resource('banji','teach/Banji');
|
|
Route::post('banji/:id/yidong','teach/Banji/yidong'); // 定义班级移动post规则
|
|
Route::post('banji/njbanji','teach/Banji/mybanji'); // 定义GET请求路由规则
|
|
Route::post('banji/schbanji','teach/Banji/banjilist'); // 定义GET请求路由规则
|
|
Route::get('kaoshi/:id/kaohao','teach/Kaoshi/kaohao');
|
|
Route::post('kaoshi/kaohao','teach/Kaoshi/kaohaosave');
|
|
Route::get('kaoshi/:id/biaoqian','teach/Kaoshi/biaoqian');
|
|
Route::get('kaoshi/:id/caiji','teach/Kaoshi/caiji');
|
|
Route::post('kaoshi/caiji','teach/Kaoshi/cankaomingdan');
|
|
|
|
|
|
|