fix调整

This commit is contained in:
momo 2023-10-07 13:41:06 +08:00
parent fcb3dd13c6
commit ce35498c7e
2 changed files with 8 additions and 8 deletions

View File

@ -30,10 +30,10 @@ type CreatePrePaymentByBalanceReq struct {
}
type OrderListReq struct {
DeliveryMethod int64 `json:"delivery_method,options=[0,1,2],optional"`
OrderCycle string `json:"order_cycle,optional,options=[within_one_month,within_three_month,within_six_month,within_one_year]"`
CurrentPage int64 `json:"current_page,optional,default=1"`
PerPage int64 `json:"per_page,optional,default=10"`
DeliveryMethod int64 `form:"delivery_method,options=[0,1,2],optional"`
OrderCycle string `form:"order_cycle,optional,options=[within_one_month,within_three_month,within_six_month,within_one_year]"`
CurrentPage int64 `form:"current_page,optional,default=1"`
PerPage int64 `form:"per_page,optional,default=10"`
}
type Request struct {

View File

@ -54,8 +54,8 @@ type CreatePrePaymentByBalanceReq {
}
type OrderListReq {
DeliveryMethod int64 `json:"delivery_method,options=[0,1,2],optional"`
OrderCycle string `json:"order_cycle,optional,options=[within_one_month,within_three_month,within_six_month,within_one_year]"`
CurrentPage int64 `json:"current_page,optional,default=1"`
PerPage int64 `json:"per_page,optional,default=10"`
DeliveryMethod int64 `form:"delivery_method,options=[0,1,2],optional"`
OrderCycle string `form:"order_cycle,optional,options=[within_one_month,within_three_month,within_six_month,within_one_year]"`
CurrentPage int64 `form:"current_page,optional,default=1"`
PerPage int64 `form:"per_page,optional,default=10"`
}