This commit is contained in:
Liang Ding 2023-03-10 09:56:26 +08:00
parent a021097b06
commit 883898f053
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 11 additions and 3 deletions

View file

@ -171,6 +171,10 @@ func setUILayout(c *gin.Context) {
ret := gulu.Ret.NewResult()
defer c.JSON(http.StatusOK, ret)
if util.ReadOnly {
return
}
arg, ok := util.JsonArg(c, ret)
if !ok {
return