This commit is contained in:
zpc 2025-09-27 16:49:57 +08:00
parent 3ff8b662ff
commit 2788fd0623

View File

@ -550,16 +550,17 @@ public class SQController : ControllerBase
} }
//订单编号 //订单编号
paymentId = imdata["paymentId"].ToString(); paymentId = imdata["paymentId"].ToString();
} if (string.IsNullOrEmpty(paymentId))
if (string.IsNullOrEmpty(paymentId))
{
return new WebApiDto()
{ {
Code = 500, return new WebApiDto()
Data = null, {
Msg = "生成订单失败!" Code = 500,
}; Data = null,
Msg = "生成订单失败!"
};
}
} }
// 5. 创建预约记录 // 5. 创建预约记录
var reservation = new SQReservations var reservation = new SQReservations
{ {