Showing
1 changed file
with
5 additions
and
2 deletions
... | @@ -176,8 +176,11 @@ function SelectLeagueInfo(eventObj, inputNum){ | ... | @@ -176,8 +176,11 @@ function SelectLeagueInfo(eventObj, inputNum){ |
176 | case 1: // 팀 순위 | 176 | case 1: // 팀 순위 |
177 | soccerAPI.LeagueStanding(currentLeagueID, function(body){ | 177 | soccerAPI.LeagueStanding(currentLeagueID, function(body){ |
178 | let standingJson = JSON.parse(body); | 178 | let standingJson = JSON.parse(body); |
179 | - returnMsg = MakeReplyMessage('팀 순위', '순위|팀명|경기|득점|승리|무승부|패배|득점|??', | 179 | + let valueText = ""; |
180 | - (standingJson.response[0].league.standings[0][i].rank + "|" + standingJson.response[0].league.standings[0][i].team.name + "|" + standingJson.response[0].league.standings[0][i].all.played + "|" + standingJson.response[0].league.standings[0][i].points + "|" + standingJson.response[0].league.standings[0][i].all.win + "|" + standingJson.response[0].league.standings[0][i].all.draw + "|" + standingJson.response[0].league.standings[0][i].all.lose + "|" + standingJson.response[0].league.standings[0][i].all.goals.for + "|" + standingJson.response[0].league.standings[0][i].all.goals.against)); | 180 | + for(var i = 0; i < 20; i++){ |
181 | + valueText += (i+1).toString() + "|" + topAssistJson.response[i].player.name + "|" + topAssistJson.response[i].statistics[0].team.name + "|" + topAssistJson.response[i].statistics[0].games.appearences + "|" + topAssistJson.response[i].statistics[0].goals.assists +'\n'; | ||
182 | + } | ||
183 | + returnMsg = MakeReplyMessage('팀 순위', '순위|이름|소속팀|경기|도움', valueText); | ||
181 | Reply(eventObj, returnMsg); | 184 | Reply(eventObj, returnMsg); |
182 | }); | 185 | }); |
183 | break; | 186 | break; | ... | ... |
-
Please register or login to post a comment