diff --git a/Application/Home/Controller/HomeController.class.php b/Application/Home/Controller/HomeController.class.php index 736dbf6a7..8113c3010 100644 --- a/Application/Home/Controller/HomeController.class.php +++ b/Application/Home/Controller/HomeController.class.php @@ -149,7 +149,7 @@ class HomeController extends Controller } if ($status == 1) { - $downLink = 'itms-services://?action=download-manifest&url=' . "https://" . $_SERVER["HTTP_HOST"] . M('GameSource', 'tab_')->where(array('game_id' => $gameId))->getField('org_plist_url'); + $downLink = 'itms-services://?action=download-manifest&url=' . "https://" . ltrim('.', $_SERVER["HTTP_HOST"] . M('GameSource', 'tab_')->where(array('game_id' => $gameId))->getField('org_plist_url')); } else { $downLink = get_apply_dow_url($gameId, $promoteId); } diff --git a/Application/Mobile/Controller/UserController.class.php b/Application/Mobile/Controller/UserController.class.php index ad510b5df..b88cfbb7f 100644 --- a/Application/Mobile/Controller/UserController.class.php +++ b/Application/Mobile/Controller/UserController.class.php @@ -169,20 +169,25 @@ class UserController extends BaseController { ); } else { $data = array( - 'status' => 0, + 'status' => 1, 'msg' => '登录成功!绑定失败', ); } + } else { + $data = array( + 'status' => 1, + 'msg' => '登录成功', + ); } } else { $data = array( - 'status' => 0, + 'status' => 1, 'msg' => '登录成功!绑定失败', ); } } else { $data = array( - 'status' => 0, + 'status' => 1, 'msg' => '登录成功!绑定失败', ); }