GOTO加密API文档

接口信息

请求参数

参数名类型必填说明
filestring要加密的PHP源代码
domainstring域名限制,留空不限制
contentstring未授权提示信息
commentstring版权注释

返回参数

参数名类型说明
codeint200成功,0失败
infostring提示信息
filestring加密后的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文档

接口信息

请求参数

参数名类型必填说明
filestring要加密的PHP源代码
commentstring版权注释

返回参数

参数名类型说明
codeint200成功,0失败
infostring提示信息
filestring加密后的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文档

接口信息

请求参数

参数名类型必填说明
filestring要加密的PHP源代码
commentstring版权注释

返回参数

参数名类型说明
codeint200成功,0失败
infostring提示信息
filestring加密后的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": "错误信息"
}