Add Checkin
This commit is contained in:
@@ -47,6 +47,14 @@ type OrderParam struct {
|
||||
Source string `form:"source" json:"source" example:"tes"`
|
||||
}
|
||||
|
||||
type Checkin struct {
|
||||
QRCode string `json:"qr_code" validate:"required"`
|
||||
}
|
||||
|
||||
type CheckinExecute struct {
|
||||
Token string `json:"token" validate:"required"`
|
||||
}
|
||||
|
||||
func (o *OrderParam) ToOrderEntity(ctx mycontext.Context) entity.OrderSearch {
|
||||
return entity.OrderSearch{
|
||||
PartnerID: ctx.GetPartnerID(),
|
||||
|
||||
Reference in New Issue
Block a user