SmsApi
class SmsApi
Properties
$apiSendUrl | |||
$apiVariableUrl | |||
$apiBalanceQueryUrl | |||
$apiSendCtyUrl | |||
$apiAccount | |||
$apiPassword |
Methods
__construct(string $api_account = '', string $api_password = '')
ChuanglanSmsApi constructor.
sendSMS(string $mobile, string $msg, string $needstatus = 'true')
发送短信
sendVariableSMS(string $msg, string $params)
发送变量短信
mixed|string
sendCtySMS(string $mobile, string $msg)
发送国际短信
queryBalance()
查询额度
Details
at line 41
__construct(string $api_account = '', string $api_password = '')
ChuanglanSmsApi constructor.
at line 60
sendSMS(string $mobile, string $msg, string $needstatus = 'true')
发送短信
at line 79
sendVariableSMS(string $msg, string $params)
发送变量短信
at line 100
mixed|string
sendCtySMS(string $mobile, string $msg)
发送国际短信
at line 118
queryBalance()
查询额度
查询地址