19 lines
		
	
	
		
			958 B
		
	
	
	
		
			PHP
		
	
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			958 B
		
	
	
	
		
			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>
 | ||
|  | // +----------------------------------------------------------------------
 | ||
|  | use think\facade\Route; | ||
|  | 
 | ||
|  | Route::rule('article/getInspirationList', "article/getInspirationList","GET|POST"); | ||
|  | Route::rule('article/query_article', "article/query","GET|POST")->name('search_article'); | ||
|  | Route::get('article/:id', "article/detail"); | ||
|  | Route::get('articles/:category_id', "article/index"); | ||
|  | Route::get('page/:category_id', "page/index"); | ||
|  | 
 |