Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bwallet
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Go
bwallet
Commits
44920109
Commit
44920109
authored
Jan 07, 2021
by
shajiaiming
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/live' into 'develop'
fix empty record bug See merge request
!5
parents
c6bca8a7
723471ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
live_info.go
service/live_info_service/live_info.go
+1
-1
live_title_record.go
service/live_title_record_service/live_title_record.go
+1
-1
No files found.
service/live_info_service/live_info.go
View file @
44920109
...
...
@@ -53,7 +53,7 @@ func (l *LiveInfo) GetAllForClient() ([]*models.LiveInfoClientResp, error) {
return
nil
,
err
}
var
records
[]
*
models
.
LiveInfoClientResp
var
records
=
[]
*
models
.
LiveInfoClientResp
{}
for
_
,
value
:=
range
live
{
record
:=
&
models
.
LiveInfoClientResp
{}
record
.
Id
=
value
.
ID
...
...
service/live_title_record_service/live_title_record.go
View file @
44920109
...
...
@@ -34,7 +34,7 @@ func (l *LiveTitleRecord) GetAll() ([]*models.LiveTitleRecordResp, error) {
return
nil
,
err
}
var
records
[]
*
models
.
LiveTitleRecordResp
var
records
=
[]
*
models
.
LiveTitleRecordResp
{}
for
_
,
value
:=
range
live
{
record
:=
&
models
.
LiveTitleRecordResp
{}
record
.
Id
=
value
.
ID
...
...
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