zhangqian
2023-10-31 dd75b36c03049be232a94d97eff1c4a5cc751fb5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package request
 
type PageInfo struct {
    Page     int `json:"page" form:"page"`         // 页码
    PageSize int `json:"pageSize" form:"pageSize"` // 每页大小
}
 
type GetById struct {
    ID uint `json:"id"` // 主键ID
}
 
type SetCurrentDevice struct {
    CurrentDeviceID string `json:"currentDeviceID,omitempty"` //当前选定的生产设备
}