|
@@ -10,12 +10,9 @@ import com.usky.meeting.service.dto.DmMeetingDto;
|
|
|
import com.usky.meeting.service.vo.MeetingInfoRequestVO;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
/**
|
|
|
* <p>
|
|
@@ -51,5 +48,15 @@ public class MeetingInfoController {
|
|
|
return ApiResult.success(meetingInfoService.meetingInfoList(requestVO));
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 取消会议预约申请
|
|
|
+ * @param meetingId
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @PostMapping("cancel")
|
|
|
+ public ApiResult<Void> cancel(@RequestParam Long meetingId){
|
|
|
+ meetingInfoService.cancel(meetingId);
|
|
|
+ return ApiResult.success();
|
|
|
+ }
|
|
|
}
|
|
|
|