mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-24 03:57:27 +08:00
refactor: comment out update-check routes and refactor findUserByBearerToken, calcResetDayByMonthFirstDay, calcResetDayByExpireDay
This commit is contained in:
@@ -16,9 +16,7 @@ use App\Http\Controllers\V2\Admin\KnowledgeController;
|
||||
use App\Http\Controllers\V2\Admin\PaymentController;
|
||||
use App\Http\Controllers\V2\Admin\SystemController;
|
||||
use App\Http\Controllers\V2\Admin\ThemeController;
|
||||
use App\Http\Controllers\V2\Admin\UpdateController;
|
||||
use Illuminate\Contracts\Routing\Registrar;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
class AdminRoute
|
||||
{
|
||||
@@ -197,12 +195,12 @@ class AdminRoute
|
||||
});
|
||||
|
||||
// Update
|
||||
$router->group([
|
||||
'prefix' => 'update'
|
||||
], function ($router) {
|
||||
$router->get('/check', [UpdateController::class, 'checkUpdate']);
|
||||
$router->post('/execute', [UpdateController::class, 'executeUpdate']);
|
||||
});
|
||||
// $router->group([
|
||||
// 'prefix' => 'update'
|
||||
// ], function ($router) {
|
||||
// $router->get('/check', [UpdateController::class, 'checkUpdate']);
|
||||
// $router->post('/execute', [UpdateController::class, 'executeUpdate']);
|
||||
// });
|
||||
|
||||
// Theme
|
||||
$router->group([
|
||||
|
||||
Reference in New Issue
Block a user