|
@@ -1,7 +1,5 @@
|
|
|
package com.jzdsh.common.database;
|
|
|
|
|
|
-import com.jfinal.kit.Prop;
|
|
|
-import com.jfinal.kit.PropKit;
|
|
|
import com.jfinal.plugin.druid.DruidPlugin;
|
|
|
|
|
|
/**
|
|
@@ -65,10 +63,6 @@ public class DbConfig {
|
|
|
}
|
|
|
//endregion
|
|
|
|
|
|
- public DbConfig(Prop p){
|
|
|
- this("normal", p.get("db.url"), p.get("db.username"), p.get("db.password"));
|
|
|
- }
|
|
|
-
|
|
|
public DbConfig(String configName,String jdbcUrl,String userName,String password){
|
|
|
this.configName = configName;
|
|
|
this.jdbcUrl = jdbcUrl;
|