How vanillanahida/group-verify-service works
This is a ThinkPHP backend and Vue frontend for group-join human verification. The primary workflow is a bot creating a ticket, a user completing Geetest on the short-link page, and the bot checking the resulting one-time code. Separate branches cover setup, admin settings, API-key management and call-log/dashboard views. The excerpts show route ownership, controller/model calls and frontend view/API usage; unsampled capabilities are included where the README or route table documents them, without assuming their internal implementation.
Main entry points: VerifyController.php Verify endpoints · database.php Application database · AdminSettingsController.php Settings and dashboard · AdminApiKeysController.php API-key management
Components 23
Verification workflow
- Verify endpoints
backend/app/controller/VerifyController.php - Verification page
frontend/src/view/Verify/index.vue - Verification API client
frontend/src/api/verify.js - Captcha and code model
backend/app/model/GeetestModel.php - Ticket records
backend/app/model/GeetestTable.php
Access and configuration
- Bot API auth
backend/app/middleware/ApiAuth.php - Admin API auth
backend/app/middleware/AdminApiKeyAuth.php - Key and settings helpers
backend/app/traits/ApiKeyTrait.php
Admin console
- Settings and dashboard
backend/app/controller/AdminSettingsController.php - API-key management
backend/app/controller/AdminApiKeysController.php - Admin console
frontend/src/view/Admin/index.vue - Admin login
frontend/src/view/Admin/Login/index.vue - Settings view
frontend/src/view/Admin/Settings/index.vue - API-key view
frontend/src/view/Admin/ApiKeys/index.vue - Settings API client
frontend/src/api/adminSettings.js - Keys API client
frontend/src/api/adminApiKeys.js
Shared runtime
- Frontend application
frontend/src/App.vue - Setup and admin pages
backend/app/controller/Index.php - Application database
backend/config/database.php
Other components
- Bot
- Joining user
- Admin user
- Geetest V4
Connections 33
- Bot → Verify endpoints: creates ticket
README.md - Verify endpoints → Captcha and code model: creates and checks
backend/app/controller/VerifyController.php - Verify endpoints → Bot API auth: protected by
backend/route/app.php - Verify endpoints → Verification page: serves ticket page
- Joining user → Verification page: opens link
README.md - Verification page → Verification API client: requests status and callback
frontend/src/view/Verify/index.vue - Verification API client → Verify endpoints: calls verify endpoints
README.md - Verification page → Geetest V4: submits challenge
README.md - Verify endpoints → Geetest V4: validates challenge
backend/app/controller/VerifyController.php - Captcha and code model → Ticket records: reads and writes
backend/app/model/GeetestModel.php - Captcha and code model → Application database: persists verification state
backend/app/model/GeetestModel.php - Ticket records → Application database: maps records
- Bot → Verify endpoints: checks code
README.md - Admin user → Frontend application: uses console
README.md - Frontend application → Admin login: renders login
frontend/src/App.vue - Frontend application → Admin console: renders console
frontend/src/App.vue - Admin console → Settings view: renders settings
frontend/src/view/Admin/index.vue - Admin console → API-key view: renders key manager
frontend/src/view/Admin/index.vue - Admin login → Settings API client: authenticates
frontend/src/view/Admin/Login/index.vue - Settings view → Settings API client: loads and updates
frontend/src/view/Admin/Settings/index.vue - API-key view → Keys API client: manages keys
frontend/src/view/Admin/ApiKeys/index.vue - Settings API client → Settings and dashboard: calls admin endpoints
- Keys API client → API-key management: calls key endpoints
- Settings and dashboard → Admin API auth: protected by
backend/route/app.php - API-key management → Admin API auth: protected by
backend/route/app.php - Settings and dashboard → Key and settings helpers: uses shared settings
backend/app/controller/AdminSettingsController.php - API-key management → Key and settings helpers: uses shared key helpers
backend/app/controller/AdminApiKeysController.php - Bot API auth → Key and settings helpers: checks key data
backend/app/middleware/ApiAuth.php - Settings and dashboard → Application database: reads settings and logs
backend/app/controller/AdminSettingsController.php - API-key management → Application database: manages API keys
backend/app/controller/AdminApiKeysController.php - Key and settings helpers → Application database: reads and writes settings
backend/app/traits/ApiKeyTrait.php - Setup and admin pages → Application database: initializes storage
- Admin user → Setup and admin pages: initializes service
README.md