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
e8a34b48
Commit
e8a34b48
authored
Jul 23, 2021
by
lenx065@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初始化
parent
3fe98b98
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
MatchServiceImpl.java
...n/java/com/live/common/service/impl/MatchServiceImpl.java
+4
-0
MatchDataController.java
.../java/com/live/server/controller/MatchDataController.java
+0
-5
No files found.
score-common/src/main/java/com/live/common/service/impl/MatchServiceImpl.java
View file @
e8a34b48
...
...
@@ -222,6 +222,8 @@ public class MatchServiceImpl implements MatchService {
);
GetMatchTypeInfoListResponse
response
=
new
GetMatchTypeInfoListResponse
();
response
.
setBasketball
(
new
ArrayList
<>());
response
.
setFootball
(
new
ArrayList
<>());
for
(
Sports
s
:
sports
)
{
GetMatchTypeInfoListResponse
.
MatchTypeInfoResponse
matchTypeInfo
=
GetMatchTypeInfoListResponse
.
MatchTypeInfoResponse
.
builder
()
.
icon
(
s
.
getCompetitionIcon
())
...
...
@@ -256,6 +258,8 @@ public class MatchServiceImpl implements MatchService {
);
GetTeamInfoListResponse
response
=
new
GetTeamInfoListResponse
();
response
.
setHotTeam
(
new
ArrayList
<>());
response
.
setOtherTeam
(
new
ArrayList
<>());
for
(
Team
team
:
teams
)
{
GetTeamInfoListResponse
.
GetTeamInfoInfoResponse
teamInfo
=
GetTeamInfoListResponse
.
GetTeamInfoInfoResponse
.
builder
()
.
id
(
team
.
getId
())
...
...
score-server/src/main/java/com/live/server/controller/MatchDataController.java
View file @
e8a34b48
package
com
.
live
.
server
.
controller
;
import
com.live.common.domain.ResponseData
;
import
com.live.common.domain.request.CommonStringId
;
import
com.live.common.domain.request.CreateRoomRequest
;
import
com.live.common.service.CategoryService
;
import
com.live.common.service.LiveService
;
import
com.live.common.service.MatchService
;
import
io.swagger.annotations.*
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.web.bind.annotation.*
;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletRequest
;
...
...
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