Skip to content

Commit b0a6a25

Browse files
committed
feat: 分离登录注册逻辑, 增加更改密码接口; 增加token info中间件与一些可观测性相关中间件
1 parent a1ee8a0 commit b0a6a25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

biz/types/ddl/struct2table.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
func main() {
1212
// MySQL 连接配置
13-
dsn := "root:ff7sLtdixG@tcp(mysql.mysql:3306)/synapse?charset=utf8mb4&parseTime=True&loc=Asia%2FShanghai"
13+
dsn := "root:123456@tcp(127.0.0.1:3306)/test?charset=utf8mb4&parseTime=True&loc=Local"
1414

1515
// 连接数据库
1616
db, err := gorm.Open(mysql.Open(dsn), &gorm.Config{})

0 commit comments

Comments
 (0)