This commit is contained in:
@@ -73,6 +73,10 @@ type ListDeviceResponse struct {
|
||||
PageSize int `json:"size" description:"每页数量"`
|
||||
}
|
||||
|
||||
// DeviceTypeOptionsResponse 设备类型选项响应。
|
||||
// 响应数据为去重、去除首尾空白并按升序排列的设备类型字符串数组。
|
||||
type DeviceTypeOptionsResponse []string
|
||||
|
||||
type GetDeviceRequest struct {
|
||||
ID uint `path:"id" description:"设备ID" required:"true"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user