Add: menu_list.php

This commit is contained in:
2019-08-07 16:18:18 +09:00
parent a8728cc6bf
commit e76674ac95
5 changed files with 238 additions and 46 deletions
+8 -3
View File
@@ -376,9 +376,9 @@ DBService.prototype.parseJSONtoRankingRecord = function(type, jsonData) {
// menu
DBService.prototype.requestMainMenuAppData = function(onSucceededListener, onFailedListener) {
DBService.prototype.requestMainMenuAppData = function(appGroup, language, onSucceededListener, onFailedListener) {
var xhr = this.makeXhr(
"php/writing/player_list.php",
"php/menu/menu_list.php",
(function() { // onreadystatechange
if(xhr.readyState == 4 && xhr.status == 200) {
var replyJSON = JSON.parse(xhr.responseText);
@@ -390,6 +390,11 @@ DBService.prototype.requestMainMenuAppData = function(onSucceededListener, onFai
}
}).bind(this)
);
xhr.send("maestroID=" + this.maestroID + "&playerID=" + this.playerID);
xhr.send(
"maestroID=" + this.maestroID
+ "&playerID=" + this.playerID
+ "&appGroup=" + appGroup
+ "&language=" + language
);
}