shish 6 лет назад
Родитель
Сommit
ab151f2a87
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      app/www/controllers/ApplyController.php

+ 2 - 3
app/www/controllers/ApplyController.php

@@ -12,9 +12,7 @@ use yii\web\Controller;
 
 class ApplyController extends BaseController
 {
-
-	public $withoutLogin = ['register'];
-
+	
 	//申请列表
 	public function actionList()
 	{
@@ -52,6 +50,7 @@ class ApplyController extends BaseController
 		if (isset($get['oldId']) && !empty($get['oldId'])) {
 			$get['introMerchantId'] = $get['oldId'];
 		}
+		$get['userId'] = $this->userId;
 		ApplyClass::addApply($get);
 		if ($rand == 0) {
 			$data = ['focus' => 0, 'qrCode' => 'https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=3602624501,870193918&fm=26&gp=0.jpg'];