update app

This commit is contained in:
wangchuxiao
2022-05-11 10:19:58 +08:00
parent 17759f9a98
commit 98a903e60c
6 changed files with 10 additions and 130 deletions
+3
View File
@@ -33,6 +33,7 @@ type UploadUpdateAppReq struct {
File *multipart.FileHeader `form:"file" binding:"required"`
Yaml *multipart.FileHeader `form:"yaml"`
ForceUpdate bool `form:"forceUpdate"`
UpdateLog string `form:"updateLog" binding:"update_log"`
}
type UploadUpdateAppResp struct {
@@ -52,5 +53,7 @@ type GetDownloadURLResp struct {
ForceUpdate bool `json:"forceUpdate"`
FileURL string `json:"fileURL"`
YamlURL string `json:"yamlURL"`
Version string `json:"version"`
UpdateLog string `json:"update_log"`
} `json:"data"`
}