|
@@ -14,6 +14,7 @@ use App\Http\Controllers\admin\Sync;
|
|
|
use App\Http\Controllers\admin\Menu;
|
|
|
use App\Http\Controllers\admin\Role;
|
|
|
use App\Http\Controllers\admin\Game;
|
|
|
+use App\Http\Controllers\admin\GameplayRule;
|
|
|
|
|
|
|
|
|
Route::post('/login', [Admin::class, 'login']);
|
|
@@ -25,7 +26,7 @@ Route::prefix('/sync')->group(function () {
|
|
|
Route::get('/settle', [Sync::class, 'settle']);
|
|
|
});
|
|
|
|
|
|
-
|
|
|
+Route::post('/gameplayRule', [GameplayRule::class, 'store']); // 游戏规则写入
|
|
|
Route::middleware(['admin.jwt'])->group(function () {
|
|
|
|
|
|
|