<?php
namespace backend\modules\user\controllers;

use Yii;

/**
 * 历史报表
 */
class HistoryController extends BaseController
{
    public function actionIndex()
    {
        $request = Yii::$app->request;
        $sTime = $request->get('sTime', ''); // 开始时间
        $eTime = $request->get('eTime', ''); // 结束时间

        return $this->render('index', [
            'type' => 'history',
            'sTime' => $sTime,
            'eTime' => $eTime,
        ]);
    }
}