fix : update cors and admin user cache

This commit is contained in:
2026-02-24 18:02:18 +08:00
parent 03b57ad514
commit 09d396c77c
16 changed files with 278 additions and 22 deletions

View File

@@ -81,13 +81,11 @@ return [
],
'cron' => [
'handler' => [
[
'class' => RotatingFileHandler::class,
'constructor' => [
'filename' => BASE_PATH . '/runtime/logs/crontab/cron.log',
'level' => Monolog\Logger::INFO,
'maxFiles' => 30,
],
'class' => RotatingFileHandler::class,
'constructor' => [
'filename' => BASE_PATH . '/runtime/logs/crontab/cron.log',
'level' => Monolog\Logger::INFO,
'maxFiles' => 30,
],
],
],

View File

@@ -10,10 +10,12 @@ declare(strict_types=1);
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
use App\Middleware\CorsMiddleware;
use Hyperf\Validation\Middleware\ValidationMiddleware;
return [
'http' => [
CorsMiddleware::class,
ValidationMiddleware::class,
],
];