This commit is contained in:
zpc 2025-12-08 01:08:40 +08:00
parent 192bc34c1a
commit 4b069089ec

View File

@ -658,6 +658,7 @@ public class SQController : ControllerBase
remarks = "", remarks = "",
status = 0, status = 0,
title = dto.title, title = dto.title,
is_solo_mode = dto.player_count == 1,
// 其他字段可根据需要补充 // 其他字段可根据需要补充
}; };
@ -682,7 +683,7 @@ public class SQController : ControllerBase
status = 0, status = 0,
is_refund = dto.deposit_fee > 0 ? 1 : 0, is_refund = dto.deposit_fee > 0 ? 1 : 0,
important_data = dto.important_data, important_data = dto.important_data,
paymentId = paymentId paymentId = paymentId,
}; };
await _SQReservationParticipantsServices.InsertAsync(participant); await _SQReservationParticipantsServices.InsertAsync(participant);
@ -1392,7 +1393,7 @@ public class SQController : ControllerBase
it => new SQReservationParticipants it => new SQReservationParticipants
{ {
is_arrive = 1, is_arrive = 1,
check_reservation=DateTime.Now check_reservation = DateTime.Now
}, },
it => it.reservation_id == dto.reservation_id && it.status == 0 && it.user_id == userId); it => it.reservation_id == dto.reservation_id && it.status == 0 && it.user_id == userId);