ctms/ctms-home/controllers/H5Controller.php
2025-04-10 23:19:13 +08:00

41 lines
1.1 KiB
PHP
Executable File

<?php
/**
* @Author: fm453
* @Date: 2019-06-24 14:47:57
# @Last modified by: fm453
# @Last modified time: 2024-05-16T11:45:24+08:00
* @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;
use yii\helpers\Url;
/**
* H5 controller
*/
class H5Controller extends Controller
{
public function actionIndex()
{
global $_HI;
$this->layout = 'h5';
include_once __DIR__.'/h5/index.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('index');
}
}