Jelajahi Sumber

租户模式-5

whitefang 1 tahun lalu
induk
melakukan
d40e8076a5
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      route/app.php

+ 2 - 2
route/app.php

@@ -12,8 +12,8 @@ use think\facade\Console;
 use think\facade\Route;
 
 // 管理后台
-Route::rule('admin/:any', function () {
-    return view(app()->getRootPath() . 'public/admin/index.html');
+Route::rule('tenant/:any', function () {
+    return view(app()->getRootPath() . 'public/tenant/index.html');
 })->pattern(['any' => '\w+']);
 
 // 手机端