Daniel 2024-06-15 11:19:36 +08:00
parent f293933802
commit 8bdd59a156
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 14 additions and 2 deletions

View file

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