Migrate all methods in the model package to the service package
This commit is contained in:
12
server/model/request/common.go
Normal file
12
server/model/request/common.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package request
|
||||
|
||||
// Paging common input parameter structure
|
||||
type PageInfo struct {
|
||||
Page int `json:"page"`
|
||||
PageSize int `json:"pageSize"`
|
||||
}
|
||||
|
||||
// Find by id structure
|
||||
type GetById struct {
|
||||
Id float64 `json:"id"`
|
||||
}
|
Reference in New Issue
Block a user