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