gpt4 book ai didi

amazon-web-services - 什么是有效的 AWSPhone?可以使用哪些测试值?

转载 作者:行者123 更新时间:2023-12-05 02:59:08 25 4
gpt4 key购买 nike

docs说:

The AWSPhone scalar type represents a valid Phone Number. Phone numbers are serialized and deserialized as Strings. Phone numbers provided may be whitespace delimited or hyphenated. The number can specify a country code at the beginning but this is not required.

什么决定给定的字符串是否是有效的 AWSPhone?此外,是否有任何安全的方法来生成(可能是大量的)AWSPhone 保证有效但肯定不是正在使用的电话号码的测试值?

最佳答案

我会看看流行的谷歌库来处理电话号码

https://github.com/google/libphonenumber

关于amazon-web-services - 什么是有效的 AWSPhone?可以使用哪些测试值?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58309814/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com