Compare commits
	
		
			No commits in common. "master" and "fraud-orders" have entirely different histories.
		
	
	
		
			master
			...
			fraud-orde
		
	
		
							
								
								
									
										149
									
								
								struct.go
								
								
								
								
							
							
						
						
									
										149
									
								
								struct.go
								
								
								
								
							| 
						 | 
				
			
			@ -36,81 +36,80 @@ type DeleteDataPayload struct {
 | 
			
		|||
// ESQuery
 | 
			
		||||
// Query support to search document
 | 
			
		||||
type ESQuery struct {
 | 
			
		||||
	IsMatch                 bool   // Search with match or prefix
 | 
			
		||||
	Index                   string // Index
 | 
			
		||||
	Page                    int64
 | 
			
		||||
	Limit                   int64
 | 
			
		||||
	Keyword                 string
 | 
			
		||||
	ProvinceCode            int
 | 
			
		||||
	Active                  string
 | 
			
		||||
	Display                 string
 | 
			
		||||
	ShopID                  string
 | 
			
		||||
	IsOutOfStock            string
 | 
			
		||||
	CanIssueInvoice         string
 | 
			
		||||
	PendingInactive         string
 | 
			
		||||
	Categories              []string
 | 
			
		||||
	SubCategories           []string
 | 
			
		||||
	IgnoreIDs               []string
 | 
			
		||||
	Suppliers               []string
 | 
			
		||||
	SlugCites               []string
 | 
			
		||||
	Type                    string
 | 
			
		||||
	ServiceDelivery         string
 | 
			
		||||
	SourceDelivery          string
 | 
			
		||||
	Brands                  []string
 | 
			
		||||
	NoBrand                 string
 | 
			
		||||
	Banned                  string
 | 
			
		||||
	ListUser                []string
 | 
			
		||||
	ListNotUser             []string
 | 
			
		||||
	PaymentMethod           string
 | 
			
		||||
	Source                  string
 | 
			
		||||
	ListSource              []string
 | 
			
		||||
	FromNewActiveSeller     string
 | 
			
		||||
	FromNewActiveBuyer      string
 | 
			
		||||
	EmailStatus             string
 | 
			
		||||
	MerchantStatus          string
 | 
			
		||||
	IsCalled                string
 | 
			
		||||
	IsAutoApproved          string
 | 
			
		||||
	ProcessStatus           string
 | 
			
		||||
	OutboundRequestStatus   string
 | 
			
		||||
	IsWholesaleBonus        string
 | 
			
		||||
	IsPreorder              string
 | 
			
		||||
	IsDeleted               string
 | 
			
		||||
	Tags                    []string
 | 
			
		||||
	Sorts                   []ESSort
 | 
			
		||||
	ListStatus              []string
 | 
			
		||||
	ListDeliveryStatus      []string
 | 
			
		||||
	FromAt                  time.Time
 | 
			
		||||
	ToAt                    time.Time
 | 
			
		||||
	ApprovedFrom            time.Time
 | 
			
		||||
	ApprovedTo              time.Time
 | 
			
		||||
	DeliveredFrom           time.Time
 | 
			
		||||
	DeliveredTo             time.Time
 | 
			
		||||
	CashbackFrom            time.Time
 | 
			
		||||
	CashbackTo              time.Time
 | 
			
		||||
	FromPrice               float64
 | 
			
		||||
	ToPrice                 float64
 | 
			
		||||
	Inventories             []string
 | 
			
		||||
	NotInventories          []string
 | 
			
		||||
	ReferralCode            string
 | 
			
		||||
	MembershipLevel         int
 | 
			
		||||
	Invitee                 string
 | 
			
		||||
	Segments                []string
 | 
			
		||||
	IsOrderMerchant         bool
 | 
			
		||||
	ImportHistory           string
 | 
			
		||||
	IsSetup                 string
 | 
			
		||||
	IsAvailable             string
 | 
			
		||||
	PlatForm                string
 | 
			
		||||
	BusinessType            string
 | 
			
		||||
	ServiceEcommerce        []string
 | 
			
		||||
	Status                  string
 | 
			
		||||
	Fraud                   string
 | 
			
		||||
	PickedFrom              time.Time
 | 
			
		||||
	PickedTo                time.Time
 | 
			
		||||
	SupplierApproveFrom     time.Time
 | 
			
		||||
	SupplierApproveTo       time.Time
 | 
			
		||||
	PlanPackage             int
 | 
			
		||||
	ProductType             string
 | 
			
		||||
	IsBlockedVisibleInSelly string
 | 
			
		||||
	IsMatch               bool   // Search with match or prefix
 | 
			
		||||
	Index                 string // Index
 | 
			
		||||
	Page                  int64
 | 
			
		||||
	Limit                 int64
 | 
			
		||||
	Keyword               string
 | 
			
		||||
	ProvinceCode          int
 | 
			
		||||
	Active                string
 | 
			
		||||
	Display               string
 | 
			
		||||
	ShopID                string
 | 
			
		||||
	IsOutOfStock          string
 | 
			
		||||
	CanIssueInvoice       string
 | 
			
		||||
	PendingInactive       string
 | 
			
		||||
	Categories            []string
 | 
			
		||||
	SubCategories         []string
 | 
			
		||||
	IgnoreIDs             []string
 | 
			
		||||
	Suppliers             []string
 | 
			
		||||
	SlugCites             []string
 | 
			
		||||
	Type                  string
 | 
			
		||||
	ServiceDelivery       string
 | 
			
		||||
	SourceDelivery        string
 | 
			
		||||
	Brands                []string
 | 
			
		||||
	NoBrand               string
 | 
			
		||||
	Banned                string
 | 
			
		||||
	ListUser              []string
 | 
			
		||||
	ListNotUser           []string
 | 
			
		||||
	PaymentMethod         string
 | 
			
		||||
	Source                string
 | 
			
		||||
	ListSource            []string
 | 
			
		||||
	FromNewActiveSeller   string
 | 
			
		||||
	FromNewActiveBuyer    string
 | 
			
		||||
	EmailStatus           string
 | 
			
		||||
	MerchantStatus        string
 | 
			
		||||
	IsCalled              string
 | 
			
		||||
	IsAutoApproved        string
 | 
			
		||||
	ProcessStatus         string
 | 
			
		||||
	OutboundRequestStatus string
 | 
			
		||||
	IsWholesaleBonus      string
 | 
			
		||||
	IsPreorder            string
 | 
			
		||||
	IsDeleted             string
 | 
			
		||||
	Tags                  []string
 | 
			
		||||
	Sorts                 []ESSort
 | 
			
		||||
	ListStatus            []string
 | 
			
		||||
	ListDeliveryStatus    []string
 | 
			
		||||
	FromAt                time.Time
 | 
			
		||||
	ToAt                  time.Time
 | 
			
		||||
	ApprovedFrom          time.Time
 | 
			
		||||
	ApprovedTo            time.Time
 | 
			
		||||
	DeliveredFrom         time.Time
 | 
			
		||||
	DeliveredTo           time.Time
 | 
			
		||||
	CashbackFrom          time.Time
 | 
			
		||||
	CashbackTo            time.Time
 | 
			
		||||
	FromPrice             float64
 | 
			
		||||
	ToPrice               float64
 | 
			
		||||
	Inventories           []string
 | 
			
		||||
	NotInventories        []string
 | 
			
		||||
	ReferralCode          string
 | 
			
		||||
	MembershipLevel       int
 | 
			
		||||
	Invitee               string
 | 
			
		||||
	Segments              []string
 | 
			
		||||
	IsOrderMerchant       bool
 | 
			
		||||
	ImportHistory         string
 | 
			
		||||
	IsSetup               string
 | 
			
		||||
	IsAvailable           string
 | 
			
		||||
	PlatForm              string
 | 
			
		||||
	BusinessType          string
 | 
			
		||||
	ServiceEcommerce      []string
 | 
			
		||||
	Status                string
 | 
			
		||||
	Fraud                 string
 | 
			
		||||
	PickedFrom            time.Time
 | 
			
		||||
	PickedTo              time.Time
 | 
			
		||||
	SupplierApproveFrom   time.Time
 | 
			
		||||
	SupplierApproveTo     time.Time
 | 
			
		||||
	PlanPackage           int
 | 
			
		||||
	ProductType           string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// ESSort
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue