fix encryptMobile

This commit is contained in:
2025-04-09 22:44:36 +08:00
parent f630c515e7
commit 735599db6d
2 changed files with 4 additions and 3 deletions

View File

@@ -21,6 +21,7 @@ const (
)
func RunEncryptMobile() {
fmt.Println("开始加密手机号")
// 连接数据库
dsn := fmt.Sprintf("%s:%s@tcp(%s:%s)/%s?charset=utf8mb4&parseTime=True&loc=Local",
dbUser, dbPassword, dbHost, dbPort, dbName)