...
|
...
|
@@ -128,9 +128,10 @@ class PageController extends HomeBaseController |
|
|
$param['mobile']=17694933850;
|
|
|
$clnt = YunpianClient::create('ae02d6c1c41748b663c3f31ba5a03da8');
|
|
|
$code = cmf_get_verification_code($param['mobile'], 4);
|
|
|
$content= '【十方台】您的验证码是'.$code.'如非本人操作,请忽略本短信';
|
|
|
// ,YunpianClient::TPL_ID=>'2601908'
|
|
|
if ($code != false) {
|
|
|
$param = [YunpianClient::MOBILE => $param['mobile'], YunpianClient::TEXT => '【十方台】您的验证码是'.$code.'如非本人操作,请忽略本短信'];
|
|
|
$param = [YunpianClient::MOBILE => $param['mobile'], YunpianClient::TEXT => $content];
|
|
|
$r = $clnt->sms()->single_send($param);
|
|
|
cmf_verification_code_log($param['mobile'], $code, 120);
|
|
|
var_dump($r);
|
...
|
...
|
|