updata README

This commit is contained in:
XM-GO
2023-06-07 08:54:11 +08:00
parent 3b8653451f
commit e6205e9f71
2 changed files with 3 additions and 3 deletions

View File

@@ -18,6 +18,8 @@
演示地址http://101.35.247.125:7789/ 帐号admin 密码123456 演示地址http://101.35.247.125:7789/ 帐号admin 密码123456
组态大屏http://101.35.247.125:7790/ 组态大屏http://101.35.247.125:7790/
规则引擎http://101.35.247.125:7791/
报表设计器http://101.35.247.125:9001/
--- ---
系统在线文档 系统在线文档

View File

@@ -4,7 +4,6 @@ import (
"database/sql" "database/sql"
"fmt" "fmt"
"github.com/XM-GO/PandaKit/biz" "github.com/XM-GO/PandaKit/biz"
"log"
"pandax/apps/visual/entity" "pandax/apps/visual/entity"
"strings" "strings"
@@ -19,7 +18,6 @@ func getMysqlDB(d *entity.VisualDataSource) (*sql.DB, error) {
if d.Db.Config != "" { if d.Db.Config != "" {
dsn = fmt.Sprintf("%s&%s", dsn, d.Db.Config) dsn = fmt.Sprintf("%s&%s", dsn, d.Db.Config)
} }
log.Println(dsn)
return sql.Open("mysql", dsn) return sql.Open("mysql", dsn)
} }