func support
支持 函数导出。支持外键关联
This commit is contained in:
@@ -36,7 +36,7 @@ func GetMysqlDbInfo() MysqlDbInfo {
|
||||
|
||||
// GetMysqlConStr Get MySQL connection string.获取mysql 连接字符串
|
||||
func GetMysqlConStr() string {
|
||||
return fmt.Sprintf("%s:%s@tcp(%s:%d)/%s?charset=utf8&parseTime=True&loc=Local",
|
||||
return fmt.Sprintf("%s:%s@tcp(%s:%d)/%s?charset=utf8&parseTime=True&loc=Local&interpolateParams=true",
|
||||
_map.MySQLInfo.Username,
|
||||
_map.MySQLInfo.Password,
|
||||
_map.MySQLInfo.Host,
|
||||
|
||||
Reference in New Issue
Block a user