dengbiao 3 weeks ago
parent
commit
103f764244
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      main.go

+ 1
- 1
main.go View File

@@ -53,7 +53,7 @@ func init() {
func main() {
var users []model.UserRelate
//db.Db.Where("level=1 and id>= 79725").Asc("id").Find(&users)
db.Db.Where("level=1").Asc("id").Find(&users)
db.Db.Where("level=1").Asc("invite_time").Find(&users)
for _, v := range users {
fmt.Println("ID<<<<<<<", v.Id)
fmt.Println("user>>>>>", v.Uid)


Loading…
Cancel
Save