Skip to content

Commit

Permalink
DEV UPDATE:EoefansVideoPageResp add config param
Browse files Browse the repository at this point in the history
  • Loading branch information
misakajimmy committed Mar 12, 2023
1 parent 31993b2 commit 7d3ba74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/api/idl/eoefans_video_page.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
type EoefansVideoPageResp struct {
Key string `json:"key"`
Name string `json:"name"`
Config string `json:"config"`
Banners []*EoefansVideoPageBannerResp `json:"banners"`
Videos []*EoefansVideoPageVideo `json:"videos"`
}
Expand All @@ -17,7 +18,6 @@ type EoefansVideoPageBannerResp struct {
Image string `json:"image"`
Url string `json:"url"`
Rank uint `json:"rank"`
Config string `json:"config"`
}

type EoefansVideoPageVideoResp struct {
Expand Down
1 change: 1 addition & 0 deletions internal/repository/eoefans_video_page.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func (impl *EoefansVideoPageMysqlImpl) FindAll() (list []*idl.EoefansVideoPageRe
res := idl.EoefansVideoPageResp{
Key: pageList[i].Key,
Name: pageList[i].Name,
Config: pageList[i].Config,
Banners: bannerList,
Videos: videoList,
}
Expand Down

0 comments on commit 7d3ba74

Please sign in to comment.