From d33d789baf0a4a7c38b01cb6386d54406a7dd935 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 1 Aug 2024 17:33:12 +0800 Subject: [PATCH] 1 --- webapp/controller/BigwheelController.class.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webapp/controller/BigwheelController.class.php b/webapp/controller/BigwheelController.class.php index b0f24a10..e1f31b27 100644 --- a/webapp/controller/BigwheelController.class.php +++ b/webapp/controller/BigwheelController.class.php @@ -192,6 +192,12 @@ class BigwheelController extends BaseAuthedController { 'buy_price' => 0, 'draw_times' => $data['drawed_times'], ); + if ($drawType == 1) { + $grid2['grid_state'] = 2; + } + if ($drawType == 2) { + $grid1['grid_state'] = 2; + } array_push($data['grid_list'], $grid1); array_push($data['grid_list'], $grid2); myself()->_callModelStatic('MidData', 'setData', $key, json_encode($data));