This commit is contained in:
2023-01-07 17:03:37 +08:00
parent 16142dde2e
commit 1fedd038d9
2 changed files with 19 additions and 2 deletions

7
api.js Normal file
View File

@@ -0,0 +1,7 @@
var version = "Game Version v26";
var apiversion = "Api Version 1.0";
const unixtime = Date.now();
document.getElementById('version').innerText= version;
document.getElementById('apiversion').innerText= apiversion;
document.getElementById('unixtime').innerText= "UnixTime " + unixtime;

View File

@@ -1,8 +1,18 @@
<html> <html>
</head> </head>
<script src="api.js"></script>
</head> </head>
<body> <body>
info: ALLA API 1.0
<div id="apiversion">
Api Version
</div>
<div id="version">
Version
</div>
<div id="unixtime">
UnixTime
</div>
</body> </body>
</html> </html>
<script src="api.js"></script>