|
...
|
...
|
@@ -102,8 +102,9 @@ class LoginController extends BaseController |
|
|
|
* @method :post
|
|
|
|
* @time :2023/8/19 9:13
|
|
|
|
*/
|
|
|
|
public function sendLoginSms($type = SmsLog::TYPE_LOGIN)
|
|
|
|
public function sendLoginSms()
|
|
|
|
{
|
|
|
|
$type = $this->request->post('type',SmsLog::TYPE_LOGIN);
|
|
|
|
$this->request->validate([
|
|
|
|
'mobile'=>['required', 'regex:/^1[3-9]\d{9}$/'],
|
|
|
|
],[
|
...
|
...
|
|