|
|
@ -25,6 +25,9 @@ class IndexController extends HomeController
|
|
|
|
public function index()
|
|
|
|
public function index()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var_dump($_SESSION);
|
|
|
|
var_dump($_SESSION);
|
|
|
|
|
|
|
|
session('stest', 'ssb');
|
|
|
|
|
|
|
|
var_dump($_SESSION);
|
|
|
|
|
|
|
|
die();
|
|
|
|
$map['game_status'] = 1;
|
|
|
|
$map['game_status'] = 1;
|
|
|
|
$map['recommend_status'] = 1;
|
|
|
|
$map['recommend_status'] = 1;
|
|
|
|
$rec_data = M('Game', "tab_")->where($map)->group('relation_game_id')->order('id DESC')->limit(36)->select();
|
|
|
|
$rec_data = M('Game', "tab_")->where($map)->group('relation_game_id')->order('id DESC')->limit(36)->select();
|
|
|
|