This commit is contained in:
aozhiwei 2024-08-01 17:33:12 +08:00
parent 9d327bcaad
commit d33d789baf

View File

@ -192,6 +192,12 @@ class BigwheelController extends BaseAuthedController {
'buy_price' => 0, 'buy_price' => 0,
'draw_times' => $data['drawed_times'], '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'], $grid1);
array_push($data['grid_list'], $grid2); array_push($data['grid_list'], $grid2);
myself()->_callModelStatic('MidData', 'setData', $key, json_encode($data)); myself()->_callModelStatic('MidData', 'setData', $key, json_encode($data));