61 lines
1.6 KiB
HTML
61 lines
1.6 KiB
HTML
<html>
|
|
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>마에스트로 체험</title>
|
|
<meta name="description" CONTENT="테스트 마에스트로 체험 Test maestro experience , 초코마에 chcomae">
|
|
|
|
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
|
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
|
|
|
|
<script type="text/javascript" src="./../../../resources/jquery/jquery-3.3.1.min.js"></script>
|
|
<script type="text/javascript" src="./../js/main.js"></script>
|
|
<script type="text/javascript" src="./../js/request_server.js"></script>
|
|
<script type="text/javascript">
|
|
saveMaestroID(-1);
|
|
|
|
$(document).ready(function() {
|
|
loadMaestroTestAccountInfo();
|
|
});
|
|
|
|
|
|
function loadMaestroTestAccountInfo() {
|
|
sendRequestServer( //url, sendParams, onSuccess, onFail, isDebugMode);
|
|
"./../server/maestro/maestro_test_account.php",
|
|
"",
|
|
|
|
function(jsonData) {
|
|
let maestroID = jsonData["maestroID"];
|
|
let playerID = jsonData["playerID"];
|
|
let playerName = jsonData["playerName"];
|
|
|
|
console.log("maestroID : " + maestroID);
|
|
console.log("playerID : " + playerID);
|
|
console.log("playerName : " + playerName);
|
|
|
|
sessionStorage.setItem("maestroID", maestroID);
|
|
sessionStorage.setItem("playerID", playerID);
|
|
sessionStorage.setItem("playerName", playerName);
|
|
location.href = "./../client/menu_app.html";
|
|
},
|
|
|
|
function(errorMessage, errorCode) {
|
|
if($("#error_message").length) {
|
|
$("#error_message").text(errorMessage);
|
|
}
|
|
}
|
|
|
|
);
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
|
|
|
|
|
|
<body bgcolor="white">
|
|
</body>
|
|
|
|
|
|
</html> |