Add mini-slider API and wire the homepage projects carousel.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -94,6 +94,17 @@ type DataBannerDTO struct {
|
||||
Count int `json:"count"`
|
||||
}
|
||||
|
||||
type DataMiniSliderDTO struct {
|
||||
MiniSliders []MiniSliderDTO `json:"miniSliders"`
|
||||
Count int `json:"count"`
|
||||
}
|
||||
|
||||
type MiniSliderDTO struct {
|
||||
Id int `json:"id"`
|
||||
Title string `json:"title"`
|
||||
Image string `json:"imagePath"`
|
||||
}
|
||||
|
||||
type BannerListItemDTO struct {
|
||||
Id int `json:"id"`
|
||||
Image string `json:"imagePath"`
|
||||
|
||||
Reference in New Issue
Block a user