shish há 2 anos atrás
pai
commit
950dbe54ed
1 ficheiros alterados com 1 adições e 1 exclusões
  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)) {