作者 刘朕
1 个管道 的构建 通过 耗费 1 秒

合并分支 'liuzhen' 到 'master'

Liuzhen



查看合并请求 !35
... ... @@ -23,8 +23,8 @@ class Sms extends Api
*/
public function send()
{
$mobile = $this->request->request("mobile");
$event = $this->request->request("event");
$mobile = $this->request->param("mobile");
$event = $this->request->param("event");
$event = $event ? $event : 'register';
if (!$mobile || !\think\Validate::regex($mobile, "^1\d{10}$")) {
... ... @@ -71,10 +71,10 @@ class Sms extends Api
*/
public function check()
{
$mobile = $this->request->request("mobile");
$event = $this->request->request("event");
$mobile = $this->request->param("mobile");
$event = $this->request->param("event");
$event = $event ? $event : 'register';
$captcha = $this->request->request("captcha");
$captcha = $this->request->param("captcha");
if (!$mobile || !\think\Validate::regex($mobile, "^1\d{10}$")) {
$this->error(__('手机号不正确'));
... ...