|
@@ -35,15 +35,15 @@ import java.util.*;
|
|
|
public class ViewController extends Controller {
|
|
|
private static final OkHttpClient OKHTTP_CLIENT = new OkHttpClient();
|
|
|
|
|
|
- static{
|
|
|
- PropKit.use("config.properties");
|
|
|
- DruidPlugin plugin = new DruidPlugin(PropKit.get("jdbcUrl_zskk"), PropKit.get("user_zskk"), PropKit.get("password_zskk").trim());
|
|
|
- ActiveRecordPlugin arp = new ActiveRecordPlugin(plugin);
|
|
|
- _MappingKit.mapping(arp);
|
|
|
- plugin.start();
|
|
|
- arp.start();
|
|
|
-
|
|
|
- }
|
|
|
+// static{
|
|
|
+// PropKit.use("config.properties");
|
|
|
+// DruidPlugin plugin = new DruidPlugin(PropKit.get("jdbcUrl_zskk"), PropKit.get("user_zskk"), PropKit.get("password_zskk").trim());
|
|
|
+// ActiveRecordPlugin arp = new ActiveRecordPlugin(plugin);
|
|
|
+// _MappingKit.mapping(arp);
|
|
|
+// plugin.start();
|
|
|
+// arp.start();
|
|
|
+//
|
|
|
+// }
|
|
|
|
|
|
/**
|
|
|
* 在被连接数据库执行sql语句
|