| | |
| | | import com.dsh.course.model.AuditDiscount; |
| | | import com.dsh.guns.modular.system.model.*; |
| | | import com.dsh.guns.modular.system.model.dto.CoursePackage; |
| | | import com.dsh.guns.modular.system.model.dto.SelectDto; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | */ |
| | | @FeignClient("mb-cloud-course") |
| | | public interface CourseClient { |
| | | |
| | | // 获取课包商品的价格配置 |
| | | @PostMapping("/course/getHoursByPackageId") |
| | | List<CoursePackagePaymentConfig> getHoursByPackageId(@RequestBody Integer coursePackageId1); |
| | | /** |
| | | * 上/下架 1为上架 2为下架 3为删除 |
| | | * |
| | |
| | | List<String> queryPackageById(Integer coursePackageId); |
| | | |
| | | @PostMapping("/course/getHours") |
| | | String getHours(Integer coursePackageId1); |
| | | List<Integer> getHours(Integer coursePackageId1); |
| | | |
| | | |
| | | @PostMapping("/course/queryFee") |
| | |
| | | Boolean auditDiscount(AuditDiscount auditDiscount); |
| | | |
| | | @PostMapping("/course/times") |
| | | List<Integer> timeChange(@RequestBody Integer oneId); |
| | | List<SelectDto> timeChange(@RequestBody Integer oneId); |
| | | } |