我有控制器
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
error_reporting(E_ALL);
ini_set('display_errors', 1);
class Response extends CI_Controller
{
function __construct()
{
parent::__construct();
$this->load->library('tank_auth');
}
function index()
{
$status = $this->input->post('status');
$data['amount'] = $this->input->post('amount');
$data['orderID'] = $this->input->post('orderID');
$data['mobileNo'] = $this->input->post('mobileNo');
$data['email'] = $this->input->post('email');
echo "userid is".$this->tank_auth->get_user_id();
}
}
我在控制器完成后将一些值发布到控制器中,即时尝试从会话中获取用户ID,我无法使用tank auth.This正在其他控制器中工作 请帮忙