...
|
...
|
@@ -56,7 +56,7 @@ class Sms extends Api |
|
|
}
|
|
|
}
|
|
|
|
|
|
public function getCode($mobile, $code = null, $event = 'default'){
|
|
|
private function getCode($mobile, $code = null, $event = 'default'){
|
|
|
$code = is_null($code) ? mt_rand(1000, 9999) : $code;
|
|
|
$time = time();
|
|
|
$sms = \app\common\model\Sms::create([
|
...
|
...
|
|