cf-platform/Application/Payment/Controller/BaseController.class.php

23 lines
384 B
PHP

<?php
namespace Payment\Controller;
use Think\Controller;
/**
* 打款功能基类
* @author
*/
class BaseController extends Controller {
protected function _initialize(){
// parent::__construct();
$this->companyinfo = session('payment_user');
if (empty(session('payment_user'))) {
redirect(U('Public/login'));
}
}
}