Toggle navigation
Toggle navigation
This project
Loading...
Sign in
박찬수
/
enjoy_soccer
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박찬수
2022-06-09 11:42:44 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e9cb3fa533b08e6c0cf62c12859f2c9fab2219ff
e9cb3fa5
1 parent
1cb15feb
팀순위 답장기능 수정
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
reply.js
reply.js
View file @
e9cb3fa
...
...
@@ -176,8 +176,11 @@ function SelectLeagueInfo(eventObj, inputNum){
case
1
:
// 팀 순위
soccerAPI
.
LeagueStanding
(
currentLeagueID
,
function
(
body
){
let
standingJson
=
JSON
.
parse
(
body
);
returnMsg
=
MakeReplyMessage
(
'팀 순위'
,
'순위|팀명|경기|득점|승리|무승부|패배|득점|??'
,
(
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
));
let
valueText
=
""
;
for
(
var
i
=
0
;
i
<
20
;
i
++
){
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'
;
}
returnMsg
=
MakeReplyMessage
(
'팀 순위'
,
'순위|이름|소속팀|경기|도움'
,
valueText
);
Reply
(
eventObj
,
returnMsg
);
});
break
;
...
...
Please
register
or
login
to post a comment