Toggle navigation
Toggle navigation
This project
Loading...
Sign in
황성연
/
lolinfo.gg
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
황성연
2020-06-21 19:05:17 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2e099b537bdab0cba988074073b734c8f9a148ce
2e099b53
1 parent
09d7c013
전체 데이터 매핑
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
lolinfo/router/mytest.js
lolinfo/router/mytest.js
View file @
2e099b5
...
...
@@ -152,6 +152,8 @@ module.exports = function(app){
}
else
{
img_tier
=
"/ranked-emblems/Emblem_Iron.png"
}
}
champ_name
[
champ_name
.
length
]
=
"total"
;
var
temp_id
;
...
...
@@ -617,6 +619,22 @@ module.exports = function(app){
var
summoner_info
=
{
"summoner_Name"
:
summoner
,
"summoner_tierimage"
:
img_tier
,
"summoner_tier"
:
tier
,
"summoner_rank"
:
rank
,
"summoner_leaguepoint"
:
leaguePoints
,
"summoner_wins"
:
wins
,
"summoner_losses"
:
losses
,
"summoner_winrate"
:
((
wins
/
(
wins
+
losses
))
*
100
).
toFixed
(
2
),
"summoner_carry"
:
(
win
/
losses
*
2
).
toFixed
(
2
)
};
var
rotation_info
=
{
"rotation_image"
:
rotation_pic
,
"rotation_image_newbie"
:
rotation_pic_newbie
};
...
...
Please
register
or
login
to post a comment