| | |
| | | package com.dsh.course.feignclient; |
| | | |
| | | import com.dsh.course.feignclient.model.GetStuSessionList; |
| | | import com.dsh.course.feignclient.model.PurchaseRecordVo; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | @FeignClient(value = "mb-cloud-course") |
| | | public interface CancelListClient { |
| | | |
| | | @PostMapping("/base/cancelSource/cancelList") |
| | | public List<PurchaseRecordVo> getCancelCourseList(@RequestParam("startTime") Date startTime, |
| | | @RequestParam("endTime") Date endTime, |
| | | @RequestParam("stuId") Integer stuId, |
| | | @RequestParam("appUserId") Integer appUserId); |
| | | public List<PurchaseRecordVo> getCancelCourseList(@RequestBody GetStuSessionList sessionList); |
| | | |
| | | } |