完善路由和域名;

This commit is contained in:
2022-02-11 20:20:00 +08:00
parent 79dc8a05ee
commit 5fb6590565
6 changed files with 9 additions and 25 deletions

View File

@@ -3,5 +3,7 @@
use think\facade\Route;
Route::rule('a:uid', 'Post/read');
Route::rule('i[:category_id]/s[:sub_category_id]/p[:page]', 'Index/index');
Route::rule('i<category_id?>/s<sub_category_id?>/p<page?>', 'Index/index');
Route::rule('i<category_id?>/s/p<page?>', 'Index/index');
Route::rule('i/s/p<page?>', 'Index/index');