校区服务

This commit is contained in:
Aether
2025-09-18 15:54:38 +08:00
parent 0920cef866
commit 30e00c5949
15 changed files with 486 additions and 240 deletions

16
config/autoload/nacos.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
declare(strict_types=1);
use function Hyperf\Support\env;
return [
'default' => [
'host' => env('NACOS_HOST', '127.0.0.1'),
'port' => env('NACOS_PORT', 8848),
'username' => env('NACOS_USERNAME', 'nacos'),
'password' => env('NACOS_PASSWORD', 'nacos'),
'namespace' => env('NACOS_NAMESPACE', 'public'),
'timeout' => 5.0,
],
];