From dcd3a8a5dc0acf4b1f516c3d4a00c81efe00a9c4 Mon Sep 17 00:00:00 2001 From: yuexin Date: Tue, 15 Jun 2021 14:20:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0Num=E4=B8=8B=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- class/gzhq_lottery.class.php | 3 +++ 1 file changed, 3 insertions(+) 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' => '提交订单成功' );