This commit is contained in:
0xJacky 2021-10-18 23:13:47 +08:00
parent 953f943e01
commit 27c4b82d54
22 changed files with 97 additions and 85 deletions

View file

@ -40,11 +40,8 @@ func InstallNginxUI(c *gin.Context) {
return
}
var json InstallJson
ok, verrs := BindAndValid(c, &json)
ok := BindAndValid(c, &json)
if !ok {
c.JSON(http.StatusNotAcceptable, gin.H{
"errors": verrs,
})
return
}