This commit is contained in:
parent
32cd726c15
commit
05e04ecaaa
|
@ -665,10 +665,13 @@ func main() {
|
|||
}
|
||||
|
||||
for _, account := range accounts {
|
||||
base64DecryptedBytes, _ := base64.StdEncoding.DecodeString(*account.MobilePhone)
|
||||
base64DecryptedBytes, err := base64.StdEncoding.DecodeString(*account.MobilePhone)
|
||||
if err != nil {
|
||||
fmt.Printf("DecodeString err :%v", err)
|
||||
}
|
||||
phone, err := cryptoService.DecryptByAES(base64DecryptedBytes)
|
||||
if err != nil {
|
||||
fmt.Printf("DecryptByAES err : %v", err)
|
||||
fmt.Printf("DecryptByAES err :%v", err)
|
||||
}
|
||||
phoneStr := string(phone)
|
||||
mid := account.GetMid()
|
||||
|
|
Loading…
Reference in New Issue