移动端 API
为 App / H5 / 第三方客户端提供统一 REST API 接入层:Bearer 认证、权限对齐核心、按 Token 限流与审计;其他插件可经 mobile_api_routes 钩子把自有功能接入 /api
作者
FlintHub 認證開發者
下載量7
最低核心版本1.3.0
更新時間2026-11-13 16:08
登入後下載
登入後即可直接下載外掛包(給無法線上安裝的伺服器用)。
下載後請到你自己的站點後台「外掛商店 → 上傳安裝」手動裝包;伺服器能連網時建議直接用線上安裝,可自動升級。
預覽圖 1
包含檔案 33 238.8 KB
-
plugins
-
mobile_api
-
Controllers
- ApiController.php 13 KB
- AuthController.php 11.6 KB
- CategoryController.php 3.1 KB
- MessageController.php 9 KB
- NotificationController.php 5.7 KB
- ReplyController.php 4.7 KB
- SearchController.php 3.2 KB
- SiteController.php 3.1 KB
- ThreadController.php 19 KB
- UserController.php 10.2 KB
-
assets
- script.js 3.5 KB
- style.css 4.2 KB
-
hook
- admin_route_register.php 586 B
- init_after.php 835 B
- route_before_dispatch.php 735 B
- route_register.php 778 B
-
lang
- en.php 14 KB
- zh.php 13.6 KB
- zh_tw.php 13.7 KB
-
views
- admin.php 16.7 KB
- tokens.php 10.3 KB
- AdminController.php 5.7 KB
- ApiResponse.php 4.5 KB
- ApiRouter.php 4.9 KB
- Audit.php 3.9 KB
- FrontController.php 4.5 KB
- MessageRepo.php 9 KB
- MobileApi.php 15 KB
- Plugin.php 12.1 KB
- Pow.php 5.9 KB
- RateLimit.php 2.1 KB
- TokenManager.php 9.1 KB
- plugin.json 745 B
-
-
討論回饋 1
-
flinthubplugin.json 升 v1.1.0: 修掉`Pow.php` 的 CRLF 后 9 项门禁全 PASS (含双版本语法、i18n 1618 键三语一致、包结构、签名链路)
登入後才能參與討論。