SmsSenderUtil
class SmsSenderUtil
发送Util类
Methods
int
getRandom()
生成随机数
string
calculateSig(string $appkey, string $random, string $curTime, array $phoneNumbers)
生成签名
string
calculateSigForTemplAndPhoneNumbers(string $appkey, string $random, string $curTime, array $phoneNumbers)
生成签名
phoneNumbersToArray($nationCode, $phoneNumbers)
No description
string
calculateSigForTempl(string $appkey, string $random, string $curTime, array $phoneNumber)
生成签名
string
calculateSigForPuller(string $appkey, string $random, string $curTime)
生成签名
string
calculateAuth(string $appkey, string $random, string $curTime, array $fileSha1Sum)
生成上传文件授权
string
sha1sum(string $content)
生成sha1sum
string
sendCurlPost(string $url, array $dataObj)
发送请求
string
fetch(string $req)
发送请求
Details
at line 17
int
getRandom()
生成随机数
at line 31
string
calculateSig(string $appkey, string $random, string $curTime, array $phoneNumbers)
生成签名
at line 51
string
calculateSigForTemplAndPhoneNumbers(string $appkey, string $random, string $curTime, array $phoneNumbers)
生成签名
at line 63
phoneNumbersToArray($nationCode, $phoneNumbers)
at line 86
string
calculateSigForTempl(string $appkey, string $random, string $curTime, array $phoneNumber)
生成签名
at line 102
string
calculateSigForPuller(string $appkey, string $random, string $curTime)
生成签名
at line 117
string
calculateAuth(string $appkey, string $random, string $curTime, array $fileSha1Sum)
生成上传文件授权
at line 129
string
sha1sum(string $content)
生成sha1sum
at line 141
string
sendCurlPost(string $url, array $dataObj)
发送请求
at line 178
string
fetch(string $req)
发送请求