Browse Source

更新

three
huangjiajun 1 year ago
parent
commit
71c22e3f90
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/db/dbs_map.go

+ 1
- 1
app/db/dbs_map.go View File

@@ -92,7 +92,7 @@ func GetAllDatabaseDev() *[]model.DbMapping {
fmt.Println("cfg.Local is: ", cfg.Local)
if cfg.Local { // 本地调试 加快速度
fmt.Println("notice:LOCAL TEST, only masterId:** 123456 ** available!")
err = Db.Where("deleted_at != ? AND is_dev = '1' AND db_master_id=?", 1, 123999).Find(&m)
err = Db.Where("deleted_at != ? AND is_dev = '1' AND db_master_id=?", 1, 123456).Find(&m)
} else {
err = Db.Where("deleted_at != ? AND is_dev = '1' ", 1).Find(&m)
}


Loading…
Cancel
Save