You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							43 lines
						
					
					
						
							1.4 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							43 lines
						
					
					
						
							1.4 KiB
						
					
					
				| <?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::get('think', function () { | |
|     return 'hello,ThinkPHP6!'; | |
| }); | |
| 
 | |
| //专家列表 | |
| Route::get('expertList', 'ArticleController/expertList'); | |
| 
 | |
| //文章列表 | |
| Route::get('articleList', 'ArticleController/articleList'); | |
| 
 | |
| //文章详情 | |
| Route::get('detailArticle', 'ArticleController/detailArticle'); | |
| 
 | |
| //删除文章 | |
| Route::post('deleteArticle', 'ArticleController/deleteArticle'); | |
| 
 | |
| //编辑文章 | |
| Route::post('editArticle', 'ArticleController/editArticle'); | |
| 
 | |
| //批量就绪 | |
| Route::post('readyArticle', 'ArticleController/readyArticle'); | |
| 
 | |
| 
 | |
| //轮询获取文章 | |
| Route::get('getArticle', 'ScriptController/getArticle'); | |
| 
 | |
| //文章已发布 | |
| Route::get('publish', 'ScriptController/publish'); | |
| 
 | |
| //复制或者新增文章 | |
| Route::post('copyOrInsertArticle', 'ArticleController/copyOrInsertArticle');
 |