feat: 统一sql命名、函数命名
This commit is contained in:
@@ -14,3 +14,8 @@ type PageResponse struct {
|
||||
List interface{} `json:"list,omitempty"` // 业务数据
|
||||
Total int64 `json:"total"` // 总记录数
|
||||
}
|
||||
|
||||
type PageResult[T any] struct {
|
||||
List []T
|
||||
Total int64
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user