GOTO加密API文档
接口信息
- 请求地址:
https://sapi.awaone.top/phpjm/goto.php
- 请求方法:
POST
- 请求格式:
multipart/form-data
- 返回格式:
JSON
请求参数
| 参数名 | 类型 | 必填 | 说明 |
|---|
| file | string | 是 | 要加密的PHP源代码 |
| domain | string | 否 | 域名限制,留空不限制 |
| content | string | 否 | 未授权提示信息 |
| comment | string | 否 | 版权注释 |
返回参数
| 参数名 | 类型 | 说明 |
|---|
| code | int | 200成功,0失败 |
| info | string | 提示信息 |
| file | string | 加密后的PHP代码 |
请求示例
curl -X POST https://sapi.awaone.top/phpjm/goto.php \
-F "code=<?php echo 'hello';?>" \
-F "domain=test.com" \
-F "content=域名未授权" \
-F "comment=版权信息"
成功返回
{
"code": 200,
"info": "加密成功",
"file": "加密后的PHP代码"
}
失败返回
{
"code": 0,
"info": "错误信息"
}
Noname加密API文档
接口信息
- 请求地址:
https://sapi.awaone.top/phpjm/noname.php
- 请求方法:
POST
- 请求格式:
multipart/form-data
- 返回格式:
JSON
请求参数
| 参数名 | 类型 | 必填 | 说明 |
|---|
| file | string | 是 | 要加密的PHP源代码 |
| comment | string | 否 | 版权注释 |
返回参数
| 参数名 | 类型 | 说明 |
|---|
| code | int | 200成功,0失败 |
| info | string | 提示信息 |
| file | string | 加密后的PHP代码 |
请求示例
curl -X POST https://sapi.awaone.top/phpjm/noname.php \
-F "code=<?php echo 'hello';?>" \
-F "comment=版权信息"
成功返回
{
"code": 200,
"info": "加密成功",
"file": "加密后的PHP代码"
}
失败返回
{
"code": 0,
"info": "错误信息"
}
EnPHP加密API文档
接口信息
- 请求地址:
https://sapi.awaone.top/phpjm/enphp.php
- 请求方法:
POST
- 请求格式:
multipart/form-data
- 返回格式:
JSON
请求参数
| 参数名 | 类型 | 必填 | 说明 |
|---|
| file | string | 是 | 要加密的PHP源代码 |
| comment | string | 否 | 版权注释 |
返回参数
| 参数名 | 类型 | 说明 |
|---|
| code | int | 200成功,0失败 |
| info | string | 提示信息 |
| file | string | 加密后的PHP代码 |
请求示例
curl -X POST https://sapi.awaone.top/phpjm/noname.php \
-F "code=<?php echo 'hello';?>" \
-F "comment=版权信息"
成功返回
{
"code": 200,
"info": "加密成功",
"file": "加密后的PHP代码"
}
失败返回
{
"code": 0,
"info": "错误信息"
}