|
@@ -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']); // 删除
|
|
|
});
|