diff --git a/footer.php b/footer.php deleted file mode 100644 index 95a12b9..0000000 --- a/footer.php +++ /dev/null @@ -1,12 +0,0 @@ - - - - - diff --git a/header.php b/header.php deleted file mode 100644 index a564496..0000000 --- a/header.php +++ /dev/null @@ -1,73 +0,0 @@ - - - - - ImgURL - 简单、纯粹的图床程序。 - - - - - - - - - - - - - - - - - -
-
复制成功!
-
-
- - - \ No newline at end of file diff --git a/test.php b/test.php deleted file mode 100644 index 2c941b4..0000000 --- a/test.php +++ /dev/null @@ -1,44 +0,0 @@ -setTimeout(30); - $imginfo = ($client->pornDetect(array('urls'=>array('https://imgurl.org/upload/1712/caace16a4a5b0646.png')))); - - $imginfo = json_decode($imginfo); - - //获取状态码,0为成功 - //$code = $imginfo->http_code; - //转换为数组 - $imginfo = object2array($imginfo); - //状态码,0为成功 - $code = $imginfo['result_list']['0']->code; - $imginfo = object2array($imginfo['result_list']['0']->data); - //识别结果,0 正常,1 黄图,2 疑似图片 - $result = $imginfo['result']; - //识别评分,分数越高,越可能是黄图 - $confidence = $imginfo['confidence']; - - //重新返回json数据 - $re_data = array( - "code" => $code, - "result" => $result, - "confidence"=> $confidence - ); - echo $re_data = json_encode($re_data); -?> - - $value) { - $array[$key] = $value; - } - } - else { - $array = $object; - } - return $array; - } -?> \ No newline at end of file