作者 wangzhi

k

... ... @@ -536,9 +536,7 @@ class Backend extends Controller
if ($time > $times) {
$this->error(__('验证码已失效'));
}
if ($ret) {
$this->success(__('成功'));
} else {
if (!$ret) {
$this->error(__('验证码不正确'));
}
}
... ... @@ -581,6 +579,7 @@ class Backend extends Controller
$this->error(__('发送失败,请检查短信配置是否正确'));
}
}
function httpPost($url, $date)
{ // 模拟提交数据函数
$curl = curl_init(); // 启动一个CURL会话
... ...