fix: add clicked count on ads
This commit is contained in:
@@ -14,6 +14,11 @@ type Ads struct {
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
}
|
||||
|
||||
type AdsResponse struct {
|
||||
Ads
|
||||
Clicked int64 `json:"clicked"`
|
||||
}
|
||||
|
||||
type AdsReq struct {
|
||||
Image string `json:"image" validate:"required"`
|
||||
URL string `json:"url" validate:"required"`
|
||||
|
||||
Reference in New Issue
Block a user