This commit is contained in:
512song committed 2025-11-17 22:46:37 +08:00
1 parent 48f119d087
commit 31ddcb887f
9 files changed
+1089 -276

No files matched your search

+21 -5
View File
@@ -2537,10 +2537,26 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 96,
"id": "9663b933-57f4-486c-80e6-f9d513bbe6a8",
"metadata": {},
"outputs": [],
"metadata": {
"execution": {
"iopub.execute_input": "2025-11-14T07:35:38.747096Z",
"iopub.status.busy": "2025-11-14T07:35:38.746559Z",
"iopub.status.idle": "2025-11-14T07:35:38.947152Z",
"shell.execute_reply": "2025-11-14T07:35:38.945993Z",
"shell.execute_reply.started": "2025-11-14T07:35:38.747068Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"+8613793180751 send success\n"
]
}
],
"source": [
"from tencentcloud.common import credential\n",
"from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException\n",
@@ -2553,7 +2569,7 @@
"\n",
"\n",
"\n",
"dw_jc = \"中国石化镇海炼化公司\"\n",
"dw_jc = \"镇海炼化体测用户\"\n",
"filename = 'data/镇海短信码2025.json'\n",
"with open(filename,'r') as fl:\n",
" dict1 = json.load(fl) \n",
@@ -2575,7 +2591,7 @@
" client = sms_client.SmsClient(cred, \"ap-guangzhou\", clientProfile)\n",
" req = models.SendSmsRequest()\n",
" req.SmsSdkAppId = \"1400140089\"\n",
" req.SignName = \"坤铭教育\"\n",
" req.SignName = \"北京坤铭教育\"\n",
" req.TemplateId = \"1875765\" \n",
" req.TemplateParamSet = [dw_jc,yzm]\n",
" req.PhoneNumberSet = [phone]\n",