mirror of
https://gitee.com/ctexthuang/hyperf-micro-svc.git
synced 2026-03-26 14:40:17 +08:00
fix : update cors and admin user cache
This commit is contained in:
@@ -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,
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user