29 lines
452 B
Go
29 lines
452 B
Go
package request
|
|
|
|
import (
|
|
"yintai-api/app/common/request"
|
|
)
|
|
|
|
type PageCreate struct {
|
|
Pid string `json:"pid"`
|
|
Name string `json:"name"`
|
|
Page string `json:"page"`
|
|
Extra string `json:"content"`
|
|
Weight string `json:"weight"`
|
|
Tags string `json:"tags"`
|
|
}
|
|
|
|
type PageUpdate struct {
|
|
ID string `json:"id"`
|
|
PageCreate
|
|
}
|
|
|
|
type PageDelete struct {
|
|
ID string `form:"id"`
|
|
}
|
|
|
|
type PageList struct {
|
|
request.Paginate
|
|
Name string `form:"name"`
|
|
}
|