...
|
...
|
@@ -213,11 +213,10 @@ class User extends Frontend |
|
|
$content = array(
|
|
|
'content' => "【工品达】您的验证码是:" . $code . ",请于10分钟内使用,如非本人操作,可忽略此消息。",//短信内容
|
|
|
'mobile' => $mobile,//手机号码
|
|
|
'productid' => '887361',//产品id
|
|
|
'xh' => ''//小号
|
|
|
'tKey' => time(),
|
|
|
);
|
|
|
$result2 = send_sms($content);
|
|
|
if (substr($result2, 0, strpos($result2, ',')) != "1") {
|
|
|
$result2 = json_decode(send_sms2($content),true);
|
|
|
if ($result2['code'] != 200) {
|
|
|
Db::rollback();
|
|
|
$this->error('发送失败');
|
|
|
}
|
...
|
...
|
@@ -268,11 +267,10 @@ class User extends Frontend |
|
|
$content = array(
|
|
|
'content' => "【工品达】您的验证码是:" . $code . ",请于10分钟内使用,如非本人操作,可忽略此消息。",//短信内容
|
|
|
'mobile' => $mobile,//手机号码
|
|
|
'productid' => '887361',//产品id
|
|
|
'xh' => ''//小号
|
|
|
'tKey' => time(),
|
|
|
);
|
|
|
$result2 = send_sms($content);
|
|
|
if (substr($result2, 0, strpos($result2, ',')) != "1") {
|
|
|
$result2 = json_decode(send_sms2($content),true);
|
|
|
if ($result2['code'] != 200) {
|
|
|
Db::rollback();
|
|
|
$this->error('发送失败');
|
|
|
}
|
...
|
...
|
|