浏览代码

修改customer 没登陆就获取

lvhao 2 天之前
父节点
当前提交
c42b0a9733
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      core/CoreApp/controllers/Customer.php

+ 2 - 1
core/CoreApp/controllers/Customer.php

@@ -285,7 +285,8 @@ class Customer extends Start_Controller {
 		}
 		}
 		else
 		else
 		{
 		{
-			$vip = 0;
+	    	$vip = 0;
+			header('Location: /');exit;
 		}
 		}
 		$post = $this->input->post(NULL, TRUE);
 		$post = $this->input->post(NULL, TRUE);
 		if(isset($post['page']))  
 		if(isset($post['page']))