This commit is contained in:
parent
67a5932e27
commit
32cd726c15
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue