mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-03 16:00:25 +08:00
first
This commit is contained in:
12
controllers/form/form.go
Normal file
12
controllers/form/form.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package form
|
||||
|
||||
// 登录表单
|
||||
type LoginForm struct {
|
||||
Username string `valid:"Required"`
|
||||
Password string `valid:"Required"`
|
||||
}
|
||||
|
||||
type MachineRunForm struct {
|
||||
MachineId int64 `valid:"Required"`
|
||||
Cmd string `valid:"Required"`
|
||||
}
|
||||
Reference in New Issue
Block a user