添加注释说明

This commit is contained in:
zyq 2024-03-11 09:14:54 +08:00
parent 861f25f90d
commit ddf92dc84e
2 changed files with 8 additions and 0 deletions

View File

@ -17,6 +17,10 @@ public class Jdbc {
*/
private static Prop p = PropKit.use("config.properties");
/**
* 配置Druid数据库连接池插件
* @return
*/
public static DruidPlugin createDruidPlugin() {
DruidPlugin druidPlugin = null;
try {

View File

@ -9,6 +9,10 @@ import com.jfinal.server.undertow.UndertowServer;
*/
public class Main {
/**
* 主方法
* @param args
*/
public static void main(String[] args) {
UndertowServer.start(AppConfig.class, 8099, true);
EventLog.info("启动成功");