feat: 新增系统全局分页size配置,可根据屏幕大小自行设置

This commit is contained in:
meilin.huang
2023-11-29 17:34:54 +08:00
parent c7bab3a71b
commit e221c2f42e
19 changed files with 151 additions and 130 deletions

View File

@@ -16,7 +16,7 @@ import (
)
func getPgsqlDB(d *DbInfo) (*sql.DB, error) {
driverName := "postgres"
driverName := string(d.Type)
// SSH Conect
if d.SshTunnelMachineId > 0 {
// 如果使用了隧道,则使用`postgres:ssh:隧道机器id`注册名