Initial commit,修正
This commit is contained in:
Executable
+50
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @Author: fm453
|
||||
* @Date: 2019-06-24 23:47:36
|
||||
* @Last Modified by: fm453
|
||||
* @Last Modified time: 2021-08-23 14:33:59
|
||||
* @Email: fm453@lukegzs.com
|
||||
*/
|
||||
|
||||
namespace frontend\controllers;
|
||||
|
||||
use Yii;
|
||||
use yii\base\InvalidParamException;
|
||||
use yii\web\BadRequestHttpException;
|
||||
use yii\web\Controller;
|
||||
use yii\filters\VerbFilter;
|
||||
use yii\filters\AccessControl;
|
||||
|
||||
class H5Controller extends Controller
|
||||
{
|
||||
public function actionHotel()
|
||||
{
|
||||
global $_HI;
|
||||
include_once __DIR__.'/h5/hotel.php';
|
||||
$this->getView()->params['seo'] = $seo;
|
||||
$this->getView()->params['pageTitle'] = $pageTitle;
|
||||
$this->getView()->params['title'] = $seo['title'];
|
||||
$this->getView()->params['pageCate'] = $pageCate;
|
||||
$this->getView()->params['pageOpp'] = $ac;
|
||||
$this->getView()->params['htmlSrc'] = $htmlSrc;
|
||||
$this->getView()->params['url']['product'] = fmFunc_url(Yii::$app->controller->id,'product',$isAddons=1);
|
||||
return $this->render('hotel');
|
||||
}
|
||||
|
||||
public function actionKtv()
|
||||
{
|
||||
global $_HI;
|
||||
include_once __DIR__.'/solution/ktv.php';
|
||||
$this->getView()->params['seo'] = $seo;
|
||||
$this->getView()->params['pageTitle'] = $pageTitle;
|
||||
$this->getView()->params['title'] = $seo['title'];
|
||||
$this->getView()->params['pageCate'] = $pageCate;
|
||||
$this->getView()->params['pageOpp'] = $ac;
|
||||
$this->getView()->params['htmlSrc'] = $htmlSrc;
|
||||
$this->getView()->params['url']['product'] = fmFunc_url(Yii::$app->controller->id,'product',$isAddons=1);
|
||||
return $this->render('ktv');
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user