签入版本
This commit is contained in:
@@ -64,7 +64,7 @@ php artisan route:list --path=user/add --json
|
||||
# → "middleware": ["api", "auth.jwt", "tenant", "demo", "log.operation"]
|
||||
|
||||
# ③ 拦截生效(携带有效 token 发起写操作,期望 HTTP 403)
|
||||
curl -X POST http://localhost:8000/api/user/add \
|
||||
curl -X POST http://admin.laravel13.elevue/api/user/add \
|
||||
-H "Authorization: Bearer {access_token}" \
|
||||
-H "Accept: application/json" \
|
||||
-d '{"username":"demo"}'
|
||||
|
||||
Reference in New Issue
Block a user