|
@@ -28,8 +28,7 @@ Route::prefix('/sync')->group(function () {
|
|
|
Route::get('/settle', [Sync::class, 'settle']);
|
|
|
});
|
|
|
|
|
|
-Route::post('/gameplayRule', [GameplayRule::class, 'store']); // 游戏规则写入
|
|
|
-Route::get('/gameplayRule/cache', [GameplayRule::class, 'info']); // 游戏规则缓存读取
|
|
|
+
|
|
|
Route::middleware(['admin.jwt'])->group(function () {
|
|
|
|
|
|
|
|
@@ -60,6 +59,13 @@ Route::middleware(['admin.jwt'])->group(function () {
|
|
|
Route::post('/delete', [Issue::class, 'destroy']); // 删除
|
|
|
});
|
|
|
|
|
|
+ // 玩法规则路由
|
|
|
+ Route::prefix('/gameplayRule')->group(function () {
|
|
|
+ Route::get('/', [GameplayRule::class, 'index']);
|
|
|
+ Route::post('/', [GameplayRule::class, 'store']); // 游戏规则写入
|
|
|
+ Route::get('/cache', [GameplayRule::class, 'info']); // 游戏规则缓存读取
|
|
|
+ Route::post('/delete', [GameplayRule::class, 'destroy']); // 删除
|
|
|
+ });
|
|
|
|
|
|
Route::prefix('/withdraw')->group(function () {
|
|
|
Route::get('/', [Withdraw::class, 'index']);
|