<?php
namespace app\modules\glquesti\controllers;

use Yii;
use yii\web\Controller;
use app\models\Config;
use app\models\Questi_stem;
use app\models\Questi_option;
use app\models\Questi_type;
use app\models\Resour_course;
use app\models\Resour_tree;
use app\models\Specialty;
use app\components\AccessControl;
use app\components\SafetyHelper;
use app\extensions\upload\PluploadHandler;

class ImportController extends Controller
{
	
	private $userobj; //用户登录信息
	private $request; //Yii::$app->request对象
	
    public function init(){
		$this->userobj = AccessControl::isLogin();
		$this->request = Yii::$app->request;
	}
	
	public function beforeAction($action) {
		return true;
	}

	//批量导入
	public function actionIndex(){
		return $this->renderPartial("index");
	}
	
}
?>