2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 18:27:13 +08:00
Files
panel/internal/http/request/app.go
2024-12-29 01:41:19 +08:00

16 lines
417 B
Go

package request
type App struct {
Slug string `json:"slug" form:"slug" validate:"required|notExists:apps,slug"`
Channel string `json:"channel" form:"channel" validate:"required"`
}
type AppSlug struct {
Slug string `json:"slug" form:"slug" validate:"required"`
}
type AppUpdateShow struct {
Slug string `json:"slug" form:"slug" validate:"required|exists:apps,slug"`
Show bool `json:"show" form:"show"`
}