修改customer文件位restful模式 提供示例
This commit is contained in:
@@ -2,11 +2,11 @@ package request
|
||||
|
||||
// Paging common input parameter structure
|
||||
type PageInfo struct {
|
||||
Page int `json:"page"`
|
||||
PageSize int `json:"pageSize"`
|
||||
Page int `json:"page" form:"page"`
|
||||
PageSize int `json:"pageSize" form:"pageSize"`
|
||||
}
|
||||
|
||||
// Find by id structure
|
||||
type GetById struct {
|
||||
Id float64 `json:"id"`
|
||||
Id float64 `json:"id" form:"id"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user