huangjiajun hace 11 meses
padre
commit
71c22e3f90
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      app/db/dbs_map.go

+ 1
- 1
app/db/dbs_map.go Ver fichero

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


Cargando…
Cancelar
Guardar