فهرست منبع

Merge branch 'master' into dev

shish 11 ماه پیش
والد
کامیت
e45a308279
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      app-ghs/controllers/ApplyController.php

+ 3 - 0
app-ghs/controllers/ApplyController.php

@@ -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;