Customer Order
This commit is contained in:
@@ -15,6 +15,10 @@ type DiscoveryHomeParam struct {
|
||||
Discover string `form:"discover" json:"discover" example:"0"`
|
||||
}
|
||||
|
||||
type DiscoverySearchByID struct {
|
||||
ID int64 `form:"id" json:"id" example:"0"`
|
||||
}
|
||||
|
||||
func (d *DiscoveryHomeParam) ToEntity() *entity.DiscoverySearch {
|
||||
if d.Limit == 0 {
|
||||
d.Limit = 10
|
||||
|
||||
Reference in New Issue
Block a user