This commit is contained in:
eric
2023-05-14 20:57:06 +08:00
parent 16e4dfbcb9
commit fd29d2993b

View File

@@ -66,7 +66,7 @@ try:
req.TemplateParamSet = []
# 下发手机号码,采用 E.164 标准,+[国家或地区码][手机号]
# 示例如:+8613711112222 其中前面有一个+号 86为国家码13711112222为手机号最多不要超过200个手机号
req.PhoneNumberSet = ["+86713235697837"]
req.PhoneNumberSet = ["+8613243889782","+8613135697837"]
# 用户的 session 内容(无需要可忽略): 可以携带用户侧 ID 等上下文信息server 会原样返回
req.SessionContext = ""
# 短信码号扩展号(无需要可忽略): 默认未开通,如需开通请联系 [腾讯云短信小助手]
@@ -76,7 +76,7 @@ try:
resp = client.SendSms(req)
# 输出json格式的字符串回包
# 输出json格式的字符串回包`
print(resp.to_json_string(indent=2))
# 当出现以下错误码时,快速解决方案参考