mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
updata README
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
|
||||
演示地址:http://101.35.247.125:7789/ 帐号:admin 密码:123456
|
||||
组态大屏:http://101.35.247.125:7790/
|
||||
规则引擎:http://101.35.247.125:7791/
|
||||
报表设计器:http://101.35.247.125:9001/
|
||||
|
||||
---
|
||||
系统在线文档
|
||||
|
||||
@@ -4,7 +4,6 @@ import (
|
||||
"database/sql"
|
||||
"fmt"
|
||||
"github.com/XM-GO/PandaKit/biz"
|
||||
"log"
|
||||
"pandax/apps/visual/entity"
|
||||
"strings"
|
||||
|
||||
@@ -19,7 +18,6 @@ func getMysqlDB(d *entity.VisualDataSource) (*sql.DB, error) {
|
||||
if d.Db.Config != "" {
|
||||
dsn = fmt.Sprintf("%s&%s", dsn, d.Db.Config)
|
||||
}
|
||||
log.Println(dsn)
|
||||
return sql.Open("mysql", dsn)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user