first commit

This commit is contained in:
LAPTOP-V9RRD1TL\Michelle's Computer
2025-07-21 21:38:17 +08:00
commit f8f8fcaf96
2529 changed files with 227800 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
$array = resetRequest( $_REQUEST ) ;
$explode = explode( 'api/', $_SERVER['PHP_SELF'] ) ;
$access = false ;
if ( $array['time'] > strtotime('-1 minutes') ){
if ( hash('sha256', $array['platform'].$array['lang'].$array['branch_id'].$array['staff_id'].$array['token'].$array['time'].APIKEY) == $array['sign'] ){
$access = true ;
}
}
if ( !$access ){ header("HTTP/1.0 404 Not Found") ; exit ; }
?>