Fix: experience maestro account, experience_player_account

This commit is contained in:
2018-07-19 07:15:49 +09:00
parent a8fe0172d4
commit 0bf3adb4ed
4 changed files with 74 additions and 17 deletions
+5 -4
View File
@@ -14,9 +14,9 @@
<script>
function loadMaestroTestAccountInfo() {
function loadMaestroExperienceAccount() {
sendRequestServer( //url, sendParams, onSuccess, onFail, isDebugMode);
"./../server/maestro/maestro_test_account.php",
"./../server/maestro/maestro_experience_account.php",
"",
(jsonData) => {
@@ -31,6 +31,8 @@ function loadMaestroTestAccountInfo() {
sessionStorage.setItem("maestroID", maestroID);
sessionStorage.setItem("playerID", playerID);
sessionStorage.setItem("playerName", playerName);
location.href = "./../maestro/main_menu.html";
},
(errorMessage, errorCode) => {
@@ -44,8 +46,7 @@ function loadMaestroTestAccountInfo() {
}
function experienceMaestro() {
loadMaestroTestAccountInfo();
location.href = "./../maestro/main_menu.html";
loadMaestroExperienceAccount();
}
</script>