You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
384 B
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'));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|