dengbiao 2 days ago
parent
commit
0dccd23214
2 changed files with 4 additions and 3 deletions
  1. +2
    -1
      go.mod
  2. +2
    -2
      main.go

+ 2
- 1
go.mod View File

@@ -16,7 +16,7 @@ require (
github.com/go-playground/universal-translator v0.18.1
github.com/go-playground/validator/v10 v10.20.0
github.com/go-redis/redis v6.15.9+incompatible
github.com/gomodule/redigo v1.9.2
github.com/gomodule/redigo v2.0.0+incompatible
github.com/jinzhu/copier v0.4.0
github.com/makiuchi-d/gozxing v0.0.0-20210324052758-57132e828831
github.com/qiniu/api.v7/v7 v7.8.2
@@ -38,6 +38,7 @@ require (
code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.1-0.20241118083738-0f22da9ba0be
code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5
github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible
github.com/gin-contrib/sessions v1.0.1
github.com/go-pay/crypto v0.0.1
github.com/go-pay/gopay v1.5.101
github.com/go-pay/xlog v0.0.2


+ 2
- 2
main.go View File

@@ -52,8 +52,8 @@ func init() {
// @BasePath /api/v1
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 and id>= 44106").Asc("id").Find(&users)
//db.Db.Where("level=1").Asc("id").Find(&users)
for _, v := range users {
fmt.Println("ID<<<<<<<", v.Id)
fmt.Println("user>>>>>", v.Uid)


Loading…
Cancel
Save