IonCube加密系统

岚悬云科技

前端加密接口文档

岚悬云科技 - PHP文件加密服务接口说明

接口概述

本文档描述了前端页面与后端加密服务的接口交互方式,方便开发者理解和使用加密功能。 所有接口均基于网站根路径,例如:jm.rulewl.com

快速加密接口

POST /admin/encrypt/quick

用于快速加密单个PHP文件或ZIP压缩包。

请求参数

参数名 类型 必填 描述
file file 要加密的文件(PHP文件或ZIP压缩包)
php_version string PHP版本,默认为84
add_comment string 添加的注释,默认为"岚悬云科技"
keep_comments boolean 是否保留注释,默认为true
merge_target boolean 是否合并到目标,默认为true

响应格式

{
  "code": 200,
  "message": "加密成功",
  "data": {
    "source_path": "/path/to/source/file.php",
    "target_path": "/path/to/target/file.php",
    "download_url": "/api/encrypt/download?path=encrypted%2Ffile.php",
    "total_files": 1,
    "successful_files": 1,
    "skipped_files_count": 0,
    "encrypted_files_count": 1
  },
  "timestamp": 1640995200
}

批量加密接口

POST /admin/encrypt/batch

用于批量加密多个ZIP压缩包。

请求参数

参数名 类型 必填 描述
files file[] 要加密的ZIP文件数组
php_version string PHP版本,默认为84
add_comment string 添加的注释,默认为"岚悬云科技"
keep_comments boolean 是否保留注释,默认为true
merge_target boolean 是否合并到目标,默认为true

响应格式

{
  "code": 200,
  "message": "批量加密完成:成功2个,失败0个",
  "data": {
    "total": 2,
    "success": 2,
    "fail": 0,
    "results": [
      {
        "source": "/path/to/file1.zip",
        "success": true,
        "message": "加密成功"
      },
      {
        "source": "/path/to/file2.zip",
        "success": true,
        "message": "加密成功"
      }
    ]
  },
  "timestamp": 1640995200
}

获取加密器状态

GET /admin/encrypt/status

检查加密器是否正常工作。

响应格式

{
  "code": 200,
  "message": "加密器状态正常",
  "data": {
    "installed": true,
    "version": "11.0.0"
  },
  "timestamp": 1640995200
}

获取支持的PHP版本

GET /admin/encrypt/versions

获取所有支持的PHP版本列表。

响应格式

{
  "code": 200,
  "message": "获取PHP版本列表成功",
  "data": [
    {"value": "53", "label": "PHP 5.3"},
    {"value": "54", "label": "PHP 5.4"},
    {"value": "55", "label": "PHP 5.5"},
    {"value": "56", "label": "PHP 5.6"},
    {"value": "71", "label": "PHP 7.1"},
    {"value": "72", "label": "PHP 7.2"},
    {"value": "74", "label": "PHP 7.4"},
    {"value": "81", "label": "PHP 8.1"},
    {"value": "82", "label": "PHP 8.2"},
    {"value": "83", "label": "PHP 8.3"},
    {"value": "84", "label": "PHP 8.4"}
  ],
  "timestamp": 1640995200
}

© 2025 岚悬云科技. 保留所有权利.

如有疑问,请联系技术支持。

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2025-12-06 11:23:01 HTTP/2.0 GET : https://jm.rulewl.com/index/Index/api.html
  2. 运行时间 : 0.039541s [ 吞吐率:25.29req/s ] 内存消耗:2,770.30kb 文件加载:120
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=472364a5416c13cacf064509955a85e7
  1. /www/wwwroot/jm.rulewl.com/public/index.php ( 0.79 KB )
  2. /www/wwwroot/jm.rulewl.com/vendor/autoload.php ( 0.17 KB )
  3. /www/wwwroot/jm.rulewl.com/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /www/wwwroot/jm.rulewl.com/vendor/composer/platform_check.php ( 0.90 KB )
  5. /www/wwwroot/jm.rulewl.com/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /www/wwwroot/jm.rulewl.com/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /www/wwwroot/jm.rulewl.com/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /www/wwwroot/jm.rulewl.com/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /www/wwwroot/jm.rulewl.com/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /www/wwwroot/jm.rulewl.com/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.60 KB )
  17. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /www/wwwroot/jm.rulewl.com/vendor/symfony/var-dumper/VarDumper.php ( 3.96 KB )
  19. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /www/wwwroot/jm.rulewl.com/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /www/wwwroot/jm.rulewl.com/app/provider.php ( 0.19 KB )
  23. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /www/wwwroot/jm.rulewl.com/app/common.php ( 0.03 KB )
  27. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /www/wwwroot/jm.rulewl.com/config/app.php ( 0.95 KB )
  30. /www/wwwroot/jm.rulewl.com/config/cache.php ( 0.78 KB )
  31. /www/wwwroot/jm.rulewl.com/config/console.php ( 0.23 KB )
  32. /www/wwwroot/jm.rulewl.com/config/cookie.php ( 0.56 KB )
  33. /www/wwwroot/jm.rulewl.com/config/database.php ( 2.13 KB )
  34. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /www/wwwroot/jm.rulewl.com/config/filesystem.php ( 0.61 KB )
  36. /www/wwwroot/jm.rulewl.com/config/ioncube.php ( 1.29 KB )
  37. /www/wwwroot/jm.rulewl.com/config/lang.php ( 0.91 KB )
  38. /www/wwwroot/jm.rulewl.com/config/log.php ( 1.35 KB )
  39. /www/wwwroot/jm.rulewl.com/config/middleware.php ( 0.24 KB )
  40. /www/wwwroot/jm.rulewl.com/config/route.php ( 1.88 KB )
  41. /www/wwwroot/jm.rulewl.com/config/session.php ( 0.57 KB )
  42. /www/wwwroot/jm.rulewl.com/config/trace.php ( 0.34 KB )
  43. /www/wwwroot/jm.rulewl.com/config/view.php ( 0.82 KB )
  44. /www/wwwroot/jm.rulewl.com/app/event.php ( 0.25 KB )
  45. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  46. /www/wwwroot/jm.rulewl.com/app/service.php ( 0.13 KB )
  47. /www/wwwroot/jm.rulewl.com/app/AppService.php ( 0.26 KB )
  48. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  49. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  50. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  51. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  52. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  53. /www/wwwroot/jm.rulewl.com/vendor/services.php ( 0.17 KB )
  54. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  55. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  56. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  57. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-multi-app/src/Service.php ( 1.08 KB )
  58. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  59. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  60. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  61. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  62. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  63. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  64. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  65. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  66. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  67. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  68. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  69. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  70. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  71. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  72. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  73. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  74. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  75. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  76. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  77. /www/wwwroot/jm.rulewl.com/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  78. /www/wwwroot/jm.rulewl.com/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  79. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  80. /www/wwwroot/jm.rulewl.com/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  81. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  82. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  83. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  84. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  85. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Console.php ( 22.89 KB )
  86. /www/wwwroot/jm.rulewl.com/app/Request.php ( 0.09 KB )
  87. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  88. /www/wwwroot/jm.rulewl.com/app/middleware.php ( 0.25 KB )
  89. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  90. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  91. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  92. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  93. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  94. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  95. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  96. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-multi-app/src/MultiApp.php ( 7.06 KB )
  97. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  98. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  99. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  100. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  101. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  102. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  103. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  104. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  105. /www/wwwroot/jm.rulewl.com/app/index/controller/Index.php ( 0.85 KB )
  106. /www/wwwroot/jm.rulewl.com/app/BaseController.php ( 2.05 KB )
  107. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  108. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  109. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  110. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  111. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  112. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  113. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  114. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  115. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  116. /www/wwwroot/jm.rulewl.com/runtime/index/temp/b28ba8c0011950fc2ddd69230a401cc0.php ( 27.03 KB )
  117. /www/wwwroot/jm.rulewl.com/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  118. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  119. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  120. /www/wwwroot/jm.rulewl.com/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
0.040594s