Browse Source

修改api编辑保存时出现的bug

main
QM303176530 5 years ago
parent
commit
8ebc11569e
  1. 2
      server/service/sys_api.go

2
server/service/sys_api.go

@ -136,7 +136,7 @@ func UpdateApi(api model.SysApi) (err error) {
if err != nil {
return err
} else {
err = global.GVA_DB.Save(api).Error
err = global.GVA_DB.Save(&api).Error
}
}
return err

Loading…
Cancel
Save