|
@@ -93,7 +93,7 @@ class WebController extends MoonClubBaseController {
|
|
|
public function actionWxIndex() {
|
|
|
$wxConfig = Yii::app()->params['xyhWxConfig'];
|
|
|
$home_page = Yii::app()->getRequest()->getParam("home_page",'');
|
|
|
- $redirectURI = 'http://' . $_SERVER['HTTP_HOST'] . Yii::app()->request->baseUrl . 'index.php?r=/moonclub/web/index';
|
|
|
+ $redirectURI = 'http://' . $_SERVER['HTTP_HOST'] . Yii::app()->request->baseUrl . '/moonclub/web/index';
|
|
|
if($home_page){
|
|
|
$appURI = Yii::app()->request->baseUrl . 'index.php?r=/moonclub/web/index'.'&home_page='.$home_page;
|
|
|
$redirectURI = $redirectURI.'/'.$home_page;
|