feat: update
This commit is contained in:
@@ -4,6 +4,9 @@ from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentClo
|
||||
# 导入对应产品模块的client models。
|
||||
from tencentcloud.sms.v20210111 import sms_client, models
|
||||
|
||||
# github地址 https://github.com/TencentCloud/tencentcloud-sdk-python
|
||||
# pip install --upgrade tencentcloud-sdk-python
|
||||
|
||||
# 导入可选配置类
|
||||
from tencentcloud.common.profile.client_profile import ClientProfile
|
||||
from tencentcloud.common.profile.http_profile import HttpProfile
|
||||
@@ -66,7 +69,7 @@ try:
|
||||
req.TemplateParamSet = []
|
||||
# 下发手机号码,采用 E.164 标准,+[国家或地区码][手机号]
|
||||
# 示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号,最多不要超过200个手机号
|
||||
req.PhoneNumberSet = ["+8613243889782","+8613135697837"]
|
||||
req.PhoneNumberSet = ["+8613243889782"]
|
||||
# 用户的 session 内容(无需要可忽略): 可以携带用户侧 ID 等上下文信息,server 会原样返回
|
||||
req.SessionContext = ""
|
||||
# 短信码号扩展号(无需要可忽略): 默认未开通,如需开通请联系 [腾讯云短信小助手]
|
||||
|
||||
Reference in New Issue
Block a user