|
|
@@ -151,7 +151,8 @@ public class MeetingServiceImpl implements MeetingService {
|
|
|
Object endTimeRaw = meetingInfo.getOrDefault("end_time", body.get("end_time"));
|
|
|
Map start = UtilMap.map("dateTime, timeZone", String.valueOf(startTimeRaw), "Asia/Shanghai");
|
|
|
Map end = UtilMap.map("dateTime, timeZone", String.valueOf(endTimeRaw), "Asia/Shanghai");
|
|
|
- return UtilMap.map("summary, start, end", subject, start, end);
|
|
|
+ // cast 首参为 Object 以选 varargs 版 UtilMap.map(String, Object...) 避免命中 void 重载
|
|
|
+ return UtilMap.map("summary, start, end", (Object) subject, start, end);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -164,7 +165,7 @@ public class MeetingServiceImpl implements MeetingService {
|
|
|
Map start = UtilMap.map("dateTime, timeZone", startTime, "Asia/Shanghai");
|
|
|
// fixme: Zoom 无 end_time,通过 start_time + duration(分钟)推算
|
|
|
Map end = UtilMap.map("dateTime, timeZone", startTime, "Asia/Shanghai");
|
|
|
- return UtilMap.map("summary, start, end", subject, start, end);
|
|
|
+ return UtilMap.map("summary, start, end", (Object) subject, start, end);
|
|
|
}
|
|
|
|
|
|
private void assertPlatform(String platform) {
|