|
|
|
@ -21,6 +21,7 @@ public class YbsjyAppletsAppointmentController { |
|
|
|
|
YbsjyAppointmentSettingService ybsjyAppointmentSettingService; |
|
|
|
|
@Autowired |
|
|
|
|
YbsjyAppointmentRecordService ybsjyAppointmentRecordService; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 通过日期和景区参数去获取预约列表 |
|
|
|
|
*/ |
|
|
|
@ -42,6 +43,7 @@ public class YbsjyAppletsAppointmentController { |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 小程序取消预约 |
|
|
|
|
* |
|
|
|
|
* @param id |
|
|
|
|
* @param unionId |
|
|
|
|
* @return |
|
|
|
@ -51,6 +53,7 @@ public class YbsjyAppletsAppointmentController { |
|
|
|
|
|
|
|
|
|
return ybsjyAppointmentRecordService.cancelAppointment(id, unionId); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 小程序预约记录 |
|
|
|
|
*/ |
|
|
|
@ -59,6 +62,7 @@ public class YbsjyAppletsAppointmentController { |
|
|
|
|
|
|
|
|
|
return ybsjyAppointmentSettingService.appletsAppointmentRecord(getAppointmentRecordVO); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 小程序预约详情 |
|
|
|
|
*/ |
|
|
|
@ -67,4 +71,28 @@ public class YbsjyAppletsAppointmentController { |
|
|
|
|
|
|
|
|
|
return ybsjyAppointmentSettingService.appletsAppointmentDocumentsDetails(id); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 更新播放数据 |
|
|
|
|
* |
|
|
|
|
* @param id |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@RequestMapping("updatePlayCount") |
|
|
|
|
public ServerResponse updatePlayCount(String id) { |
|
|
|
|
|
|
|
|
|
return ybsjyAppointmentSettingService.updatePlayCount(id); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 获取播放数据 |
|
|
|
|
* |
|
|
|
|
* @param id |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@RequestMapping("getPlayCount") |
|
|
|
|
public ServerResponse getPlayCount(String id) { |
|
|
|
|
|
|
|
|
|
return ybsjyAppointmentSettingService.getPlayCount(id); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|