Commit 89dd0da5 authored by houdong's avatar houdong

有奖赛加钱包

parent 639bc946
...@@ -16,7 +16,10 @@ class IndexAction extends IdentityAction { ...@@ -16,7 +16,10 @@ class IndexAction extends IdentityAction {
if(isMobileRequest()){ if(isMobileRequest()){
$uriArray= parse_url($_SERVER['REQUEST_URI']); $uriArray= parse_url($_SERVER['REQUEST_URI']);
$query=$uriArray['query']; $query=$uriArray['query'];
if(ACTION_NAME=='index'||ACTION_NAME=='win'||ACTION_NAME=='rule'){ if(ACTION_NAME=='index'){
header('location:'.M_URL.'/Match/jiang?1=1&'.$query);
}
if(ACTION_NAME=='win'||ACTION_NAME=='rule'){
header('location:/PkTop?viewPage=1&'.$query); header('location:/PkTop?viewPage=1&'.$query);
} }
if(ACTION_NAME=='lucky'){ if(ACTION_NAME=='lucky'){
......
...@@ -15,8 +15,13 @@ class PkTopAction extends IdentityAction{ ...@@ -15,8 +15,13 @@ class PkTopAction extends IdentityAction{
//首页 //首页
public function index() public function index() {
{ if(!I('viewPage')){
header('location:'.M_URL.'/Match/jiang');
exit;
}
$userIdParam = I('user_id', '', intval); $userIdParam = I('user_id', '', intval);
$isapp = I('isapp'); $isapp = I('isapp');
if ($isapp) { if ($isapp) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment