SmsSenderUtil
class SmsSenderUtil
发送Util类
Methods
int
getRandom()
生成随机数
string
calculateSig($appkey, $random, $curTime, $phoneNumbers)
生成签名
string
calculateSigForTemplAndPhoneNumbers($appkey, $random, $curTime, $phoneNumbers)
生成签名
phoneNumbersToArray($nationCode, $phoneNumbers)
No description
string
calculateSigForTempl($appkey, $random, $curTime, $phoneNumber)
生成签名
string
calculateSigForPuller($appkey, $random, $curTime)
生成签名
string
sendCurlPost(string $url, array $dataObj)
发送请求
Details
at line 17
int
getRandom()
生成随机数
at line 31
string
calculateSig($appkey, $random, $curTime, $phoneNumbers)
生成签名
at line 51
string
calculateSigForTemplAndPhoneNumbers($appkey, $random, $curTime, $phoneNumbers)
生成签名
at line 63
phoneNumbersToArray($nationCode, $phoneNumbers)
at line 86
string
calculateSigForTempl($appkey, $random, $curTime, $phoneNumber)
生成签名
at line 102
string
calculateSigForPuller($appkey, $random, $curTime)
生成签名
at line 115
string
sendCurlPost(string $url, array $dataObj)
发送请求