@ -500,8 +500,13 @@ eof;
$res = $this->request($api, json_encode($params), $timeout, $pc, $headers);
if (!empty($res) && $res['status'] == 200) {
$resData = json_decode($res['result'], true);
if ($resData['code'] == 1) {
$code = 1;
$msg = '短信验证码已成功发送';
}else {
$err = '短信验证码发送失败:' . $resData['message'];
}
$err = '短信验证码发送失败,请稍后再试';