fix: query

This commit is contained in:
2025-12-20 21:41:41 +08:00
parent 3313c3aa7d
commit be8a57c649
15 changed files with 65 additions and 81 deletions

View File

@@ -0,0 +1,8 @@
package dto
import "quyun/v2/app/requests"
type ListQuery struct {
*requests.Pagination
Keyword *string `query:"keyword"`
}

View File

@@ -0,0 +1,11 @@
package dto
import "quyun/v2/app/requests"
type OrderListQuery struct {
*requests.Pagination
Keyword *string `query:"keyword"`
OrderNumber *string `query:"order_number"`
UserID *int64 `query:"user_id"`
}

View File

@@ -0,0 +1,8 @@
package dto
import "quyun/v2/app/requests"
type PostListQuery struct {
*requests.Pagination
Keyword *string `query:"keyword"`
}

View File

@@ -0,0 +1,8 @@
package dto
import "quyun/v2/app/requests"
type UserListQuery struct {
*requests.Pagination
Keyword *string `query:"keyword"`
}