Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sequoia_score
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mark
sequoia_score
Commits
713ed0a0
Commit
713ed0a0
authored
Aug 02, 2021
by
Lem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
球队详情头像
parent
b4e9dede
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
TeamAllInfoResponse.java
...a/com/live/common/domain/dto/api/TeamAllInfoResponse.java
+1
-0
MatchServiceImpl.java
...n/java/com/live/common/service/impl/MatchServiceImpl.java
+3
-0
No files found.
score-common/src/main/java/com/live/common/domain/dto/api/TeamAllInfoResponse.java
View file @
713ed0a0
...
...
@@ -30,6 +30,7 @@ public class TeamAllInfoResponse {
private
String
rnNumber
;
private
String
marketValue
;
private
String
position
;
private
String
icon
;
}
...
...
score-common/src/main/java/com/live/common/service/impl/MatchServiceImpl.java
View file @
713ed0a0
...
...
@@ -489,6 +489,8 @@ public class MatchServiceImpl implements MatchService {
.
build
())
.
teamPlayers
(
teamPlayers
.
stream
().
map
(
b
->
{
Integer
market
=
b
.
getMarketValue
();
String
icon
=
b
.
getSportsId
()
==
0
?
"http://dt.aistat.cn/players/"
+
b
.
getSourceId
()
+
".jpg"
:
"http://basketball.aistat.cn/players/"
+
b
.
getSourceId
()
+
".png"
;
return
TeamAllInfoResponse
.
TeamPlayerInfoResponse
.
builder
()
.
birthday
(
b
.
getBirthday
())
...
...
@@ -500,6 +502,7 @@ public class MatchServiceImpl implements MatchService {
.
nameEn
(
b
.
getNameEn
())
.
position
(
CommonUtil
.
positionZh
(
b
.
getPosition
()))
.
rnNumber
(
b
.
getRnNumber
())
.
icon
(
icon
)
.
build
();
}).
collect
(
Collectors
.
toList
()))
.
build
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment