名称 | 必填 | 类型 | 说明 |
---|---|---|---|
key | 否 | string | 自定义密匙 |
string | 是 | string | 加/解密内容 |
type | 否 | string | en表示加密,de表示解密(默认) |
加密:{"enmissString":"InFYZ0VPKzVzTkdxUWlxV1VXVnA5cmtCenRxYkNTY3JUeVwvVWtxTm16VHNjPSI="}解密:{"demissString":小韩网络}
自行调用
<?php
header('Content-type:text/json;charset=utf-8;'); $key = $_GET['key']; $string = $_GET['string']; $type = $_GET['type']; $result = file_get_contents('https://api.vvhan.com/api/jm?key=' . $key . '&string=' . $string . '&type=' . $type); echo $result;
?>