|
|
@@ -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) |
|
|
|