This commit is contained in:
Leufolium 2024-07-28 18:06:23 +08:00
parent 67a5932e27
commit 32cd726c15
1 changed files with 4 additions and 1 deletions

View File

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