|
|
@@ -34,6 +34,9 @@ class ApplyController extends BaseController
|
|
|
}
|
|
|
$rand = rand(11111, 99999);
|
|
|
$minute = 10;
|
|
|
+ if (getenv('YII_ENV') != 'production') {
|
|
|
+ noticeUtil::push('注册验证码:{$var},{$var}分钟内有效', '15280215347');
|
|
|
+ }
|
|
|
sms::send($mobile . ',' . $rand . ',' . $minute, '注册验证码:{$var},{$var}分钟内有效');
|
|
|
$ptStyle = Yii::$app->params['ptStyle'];
|
|
|
$cacheKey = 'register_mobile_code_' . $ptStyle . '_' . $mobile;
|