| | |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.bouncycastle.math.Primes; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | return null; |
| | | } |
| | | } |
| | | /** |
| | | * 根据id获取课包 |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/base/coursePackage/getCoursePackageByStoreId") |
| | | public List<TCoursePackage> getCoursePackageByStoreId(@RequestBody Integer storeId){ |
| | | |
| | | return coursePackageService.list(new QueryWrapper<TCoursePackage>().eq("storeId", storeId)); |
| | | } |
| | | /** |
| | | * 根据课包类型获取课包 |
| | | */ |
| | | @ResponseBody |
| | | @PostMapping("/base/coursePackage/getCoursePackageByType") |
| | | public List<TCoursePackage> getCoursePackageByType(@RequestBody Integer typeId){ |
| | | return coursePackageService.list(new QueryWrapper<TCoursePackage>().eq("coursePackageTypeId", typeId)); |
| | | } |
| | | /** |
| | | * 本周福利列表 |
| | | */ |