master
ELF 5 years ago
parent 74fb7a431c
commit 8375c8f6e7

@ -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();

Loading…
Cancel
Save