Kaynağa Gözat

用户信息

shish 6 yıl önce
ebeveyn
işleme
f043c7e795
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app/www/controllers/ApplyController.php

+ 1 - 1
app/www/controllers/ApplyController.php

@@ -55,7 +55,7 @@ class ApplyController extends BaseController
 		$get['long'] = isset($get['longitude']) ? $get['longitude'] : '';
 		$get['long'] = isset($get['longitude']) ? $get['longitude'] : '';
 		$get['lat'] = isset($get['latitude']) ? $get['latitude'] : '';
 		$get['lat'] = isset($get['latitude']) ? $get['latitude'] : '';
 		
 		
-		$cacheKey = 'OPEN_SHOP_APPLY_' . $userId;
+		$cacheKey = 'OPEN_SHOP_APPLY_' . $this->userId;
 		$cacheCode = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
 		$cacheCode = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
 		if (isset($cacheCode) == false || empty($cacheCode)) {
 		if (isset($cacheCode) == false || empty($cacheCode)) {
 			util::fail('没有验证码');
 			util::fail('没有验证码');