jiangshuai
2023-10-20 222399d441e1a759bae2a10685245ee90bc3fb6d
models/location.go
@@ -310,7 +310,7 @@
      records = make([]*Location, 0)
      db      = slf.build()
   )
   err := db.Find(&records)
   err := db.Find(&records).Error
   if err != nil {
      fmt.Println(err)
      return records, fmt.Errorf("func FindAll err: %v", err)