wireguard-dashboard/http/param/setting.go

18 lines
444 B
Go
Raw Permalink Normal View History

2024-07-11 16:06:52 +08:00
package param
2024-09-23 15:58:46 +08:00
import "mime/multipart"
2024-07-11 16:06:52 +08:00
// SetSetting
// @description: 添加/编辑设置
type SetSetting struct {
2024-08-08 15:30:09 +08:00
Code string `json:"code" form:"code" binding:"required"`
Data string `json:"data" form:"data" binding:"required"`
Describe string `json:"describe" form:"describe" binding:"omitempty"`
2024-07-11 16:06:52 +08:00
}
2024-09-23 15:58:46 +08:00
// Import
// @description: 导入
type Import struct {
File *multipart.FileHeader `json:"file" form:"file" binding:"required"`
}