Commit edc2a29d authored by 734642908@qq.com's avatar 734642908@qq.com

添加游戏记录数据

parent 18a26e69
......@@ -66,6 +66,9 @@ class GameModel extends BaseModel
{
$result = Array();
$taskList = C('taskList');
$class = I('classify');
$type = I('type');
$pos = I('pos');
$memberModel = M("yl_member_game","",$this->__lewan_hezi);
$memberModel->startTrans();
......@@ -92,6 +95,9 @@ class GameModel extends BaseModel
'uid'=>$uid
,'r_game'=>$gid
,'create_time'=>date('Y-m-d H:i:s')
,'class'=>$class
,'type'=>$type
,'position'=>$pos
);
$re2 = M("yl_game_onclick_log","",$this->__lewan_hezi)->add($clickArr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment