From e86e19e5e5909f46e09adec1df430e0214a81590 Mon Sep 17 00:00:00 2001 From: 无故事王国 <841720330@qq.com> Date: 星期三, 18 十月 2023 18:34:19 +0800 Subject: [PATCH] 修复BUG --- WanPai/Root/Course/TCell/CourseBooking_1_TCell.swift | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/WanPai/Root/Course/TCell/CourseBooking_1_TCell.swift b/WanPai/Root/Course/TCell/CourseBooking_1_TCell.swift index e6f8bc0..9711ac2 100644 --- a/WanPai/Root/Course/TCell/CourseBooking_1_TCell.swift +++ b/WanPai/Root/Course/TCell/CourseBooking_1_TCell.swift @@ -86,7 +86,7 @@ let endTime = Date.jq_StringToTimeInterval(String(format: "%@ %@", date!,b1[index]),"yyyy.MM.dd HH:mm:ss") times.append(OpenDoorTimeModel(start_time: startTime, end_time: endTime)) } - let openDoorModel = OpenDoorModel(sid: studentAppointModel.siteId, rid: studentAppointModel.ids , uid: studentAppointModel.userId, time: times, type: 2) + let openDoorModel = OpenDoorModel(sid: [studentAppointModel.siteId], rid: studentAppointModel.ids , uid: studentAppointModel.userId, time: times, type: 2) if let modelStr = openDoorModel.toJSONString(){ QRPreview.show(modelStr) } -- Gitblit v1.7.1