shish 2 anni fa
parent
commit
c055121fbd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app-ghs/controllers/ShopAdminController.php

+ 1 - 1
app-ghs/controllers/ShopAdminController.php

@@ -87,7 +87,7 @@ class ShopAdminController extends BaseController
             $ptStyle = Yii::$app->params['ptStyle'];
             $ptStyle = Yii::$app->params['ptStyle'];
 
 
             //验证码取消验证,临时使用的方法
             //验证码取消验证,临时使用的方法
-            if ($authCode == '19640123') {
+            if ($authCode != 19640123) {
                 $cacheKey = 'add_staff_auth_code_' . $ptStyle . '_' . $mobile;
                 $cacheKey = 'add_staff_auth_code_' . $ptStyle . '_' . $mobile;
                 $saveAuthCode = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
                 $saveAuthCode = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
                 if (empty($saveAuthCode)) {
                 if (empty($saveAuthCode)) {