This commit is contained in:
Leufolium 2024-07-28 18:14:17 +08:00
parent 49761e7ebe
commit dcbf450d1c
1 changed files with 4 additions and 4 deletions

View File

@ -667,14 +667,14 @@ func main() {
for _, account := range accounts {
base64DecryptedBytes, err := base64.StdEncoding.DecodeString(*account.MobilePhone)
if err != nil {
fmt.Printf("DecodeString err :%v", err)
fmt.Printf("DecodeString err :%v\n", err)
}
fmt.Printf("base64DecryptedBytes: %v", base64DecryptedBytes)
fmt.Printf("base64DecryptedBytes: %v\n", base64DecryptedBytes)
phone, err := cryptoService.DecryptByAES(base64DecryptedBytes)
if err != nil {
fmt.Printf("DecryptByAES err :%v", err)
fmt.Printf("DecryptByAES err :%v\n", err)
}
fmt.Printf("phone: %v", phone)
fmt.Printf("phone: %v\n", phone)
phoneStr := string(phone)
mid := account.GetMid()
name := account.GetName()