更新权限和用户模型

This commit is contained in:
veypi
2021-10-13 14:43:03 +08:00
parent 3d194e935d
commit cd7029c298
27 changed files with 575 additions and 162 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ func (h *appHandler) Get() (interface{}, error) {
}
h.query = &models.App{}
h.query.UUID = id
err := cfg.DB().Where(h.query).Preload("Wx").First(h.query).Error
err := cfg.DB().Where(h.query).First(h.query).Error
if err != nil {
return nil, err
}