Skip to content

Commit

Permalink
Update 指定模板发送语音通知.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chuikingfan authored Nov 19, 2024
1 parent 36ae151 commit 83c4fde
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ POST https://cloud.tim.qq.com/v5/tlsvoicesvr/sendtvoice?sdkappid=xxxxx&random=xx
>?`sig`字段根据公式`sha256(appkey=$appkey&random=$random&time=$time&mobile=$mobile)`生成,其伪代码如下:
```json
string strMobile = "13788888888"; //tel 的 mobile 字段的内容
string strAppKey = "5f03a35d00ee52a21327ab048186a2c4"; //sdkappid 对应的 appkey,需要业务方高度保密
string strAppKey = "5f03a*****************a2c4"; //sdkappid 对应的 appkey,需要业务方高度保密
string strRand = "7226249334"; //URL 中的 random 字段的值
string strTime = "1457336869"; //UNIX 时间戳
string sig = sha256(appkey=5f03a35d00ee52a21327ab048186a2c4&random=7226249334&time=1457336869&mobile=13788888888)
string sig = sha256(appkey=5f03a*****************a2c4&random=7226249334&time=1457336869&mobile=13788888888)
= ecab4881ee80ad3d76bb1da68387428ca752eb885e52621a3129dcf4d9bc4fd4;
```

Expand Down

0 comments on commit 83c4fde

Please sign in to comment.