修改短信验证码,改用send_sms_ek
Change-Id: I3bae3fa7f4f11c1104fe261c3ac434bc6a8884ac
This commit is contained in:
parent
d07493a9bd
commit
94ccf26308
|
@ -661,7 +661,8 @@ function send_sms_auto($phone, $msg)
|
||||||
if(strstr($msg, '验证码')) {
|
if(strstr($msg, '验证码')) {
|
||||||
if(preg_match("/([^0-9]+|^)([0-9]{5,6})([^0-9]+|$)/", $msg, $m)) {
|
if(preg_match("/([^0-9]+|^)([0-9]{5,6})([^0-9]+|$)/", $msg, $m)) {
|
||||||
$yzm = $m[2];
|
$yzm = $m[2];
|
||||||
send_yzm_atom($phone, $yzm);
|
// send_yzm_atom($phone, $yzm);
|
||||||
|
send_sms_ek($phone, $msg);
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue