Add client banner-by-id API and point frontend at new client endpoints.
Also save admin uploads locally under /public/images with a 10MB limit. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
a3c87d231b
commit
ca0692d190
5 files changed
+144
-98
No files matched your search
@@ -10,6 +10,7 @@ type Repository interface {
|
||||
GetSubCategoryById(ctx context.Context, id int) (SubCategoryDTO, error)
|
||||
|
||||
GetBanners(ctx context.Context, limit, page int) (DataBannerDTO, error)
|
||||
GetBannerById(ctx context.Context, id int) (BannerDTO, error)
|
||||
|
||||
GetStatics(ctx context.Context, limit, page int) (DataStaticDTO, error)
|
||||
GetStaticById(ctx context.Context, id int) (StaticDTO, error)
|
||||
|
||||
Reference in new issue
Block a user