Fix: revised php code to admin

This commit is contained in:
2018-07-12 07:20:44 +09:00
parent b5b56e8c2d
commit 070b870044
8 changed files with 77 additions and 687 deletions
+2 -2
View File
@@ -22,14 +22,14 @@
let name = $("#maestro_name").val();
let password = $("#password").val();
sendRequestServer( //url, sendParams, onSuccess, onFail, isDebugMode);
"./../server/maestro/login.php",
"maestro_name=" + name + "&password=" + password,
(jsonData) => {
maestroID = jsonData["MaestroID"];
maestroID = jsonData["maestroID"];
sessionStorage.setItem("maestroID", maestroID);
location.href = 'admin_register_list.html';
},