seven 3 zile în urmă
părinte
comite
fdb06f6c09
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      routes/admin.php

+ 1 - 1
routes/admin.php

@@ -62,7 +62,7 @@ Route::middleware(['admin.jwt'])->group(function () {
         // 玩法规则路由
         Route::prefix('/gameplayRule')->group(function () {
             Route::get('/', [GameplayRule::class, 'index']);
-            Route::post('/', [GameplayRule::class, 'store']); // 游戏规则写入
+            Route::post('/submit', [GameplayRule::class, 'store']); // 游戏规则写入
             Route::get('/cache', [GameplayRule::class, 'info']); // 游戏规则缓存读取
             Route::post('/delete', [GameplayRule::class, 'destroy']); // 删除
         });