移动端 API

v1.3.0 mobile_api 官方出品 Officially signed

为 App / H5 / 第三方客户端提供统一 REST API 接入层:Bearer 认证、权限对齐核心、按 Token 限流与审计;其他插件可经 mobile_api_routes 钩子把自有功能接入 /api

Author FlintHub Verified developer
Downloads7
Min core version1.3.0
Updated2026-11-13 16:08
Log in to download Log in to download the package directly — for servers that cannot install plugins online.
After downloading, upload the zip in your own site admin: Plugin Store → Upload & Install. If your server has outbound access, prefer the online install — it can auto-update.

Screenshots 1

Files 33 238.8 KB

  • plugins 33 files · 238.8 KB
    • mobile_api 33 files · 238.8 KB
      • Controllers 10 files · 82.6 KB
        • 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 2 files · 7.7 KB
        • script.js 3.5 KB
        • style.css 4.2 KB
      • hook 4 files · 2.9 KB
        • admin_route_register.php 586 B
        • init_after.php 835 B
        • route_before_dispatch.php 735 B
        • route_register.php 778 B
      • lang 3 files · 41.3 KB
        • en.php 14 KB
        • zh.php 13.6 KB
        • zh_tw.php 13.7 KB
      • views 2 files · 27 KB
        • 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

Discussion 1

  • flinthub
    plugin.json 升 v1.1.0: 修掉`Pow.php` 的 CRLF 后 9 项门禁全 PASS (含双版本语法、i18n 1618 键三语一致、包结构、签名链路)
Please sign in to join the discussion.