shish il y a 10 mois
Parent
commit
6a56b13e0f
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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;