diff --git a/class/gzhq_lottery.class.php b/class/gzhq_lottery.class.php index 1a67ebd..1a16505 100644 --- a/class/gzhq_lottery.class.php +++ b/class/gzhq_lottery.class.php @@ -114,6 +114,8 @@ class gzhq_lottery extends gzhq_base{ ); } + $num = $user_lottery['num']+1; + $info = update_game_user_lottery($uid,$lottery_id,$daytime,$up_arr,$mysql_conn,$redis_conn); if($info){ @@ -145,6 +147,7 @@ class gzhq_lottery extends gzhq_base{ 'task_uid_pic' => $new_user_lottery['task_uid_pic'],//'分配任务用户头像' 'type' => $new_user_lottery['type'],//'任务类型', 'is_ok' => $new_user_lottery['is_ok'],//'是否已完成任务', + 'num' => $num, 'msg' => '提交订单成功' );