style: 修改website的API和model
This commit is contained in:
committed by
zhengkunwang223
parent
2a0f2dcd6a
commit
09ef0ebc80
7
backend/app/dto/request/nginx.go
Normal file
7
backend/app/dto/request/nginx.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package request
|
||||
|
||||
type NginxConfigFileUpdate struct {
|
||||
Content string `json:"content" validate:"required"`
|
||||
FilePath string `json:"filePath" validate:"required"`
|
||||
Backup bool `json:"backup" validate:"required"`
|
||||
}
|
||||
Reference in New Issue
Block a user