shish 2 ani în urmă
părinte
comite
c055121fbd
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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'];
 
             //验证码取消验证,临时使用的方法
-            if ($authCode == '19640123') {
+            if ($authCode != 19640123) {
                 $cacheKey = 'add_staff_auth_code_' . $ptStyle . '_' . $mobile;
                 $saveAuthCode = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
                 if (empty($saveAuthCode)) {