feat(api-key): add api_key table, source fields, model and auth middleware

This commit is contained in:
augushong
2026-04-27 00:07:18 +08:00
parent 351808bf07
commit ac4d34884e
5 changed files with 270 additions and 0 deletions

4
app/api/middleware.php Normal file
View File

@@ -0,0 +1,4 @@
<?php
// API中间件通过控制器 $middleware 属性挂载,不需要全局注册
return [];