| | |
| | | import com.dsh.guns.modular.system.model.dto.BallQueryDto; |
| | | import com.dsh.guns.modular.system.model.dto.PacQueryDto; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | |
| | | @FeignClient("mb-cloud-course") |
| | | public interface CoursePackageClient { |
| | | |
| | | |
| | | /** |
| | | * 根据门店ids获取课包ids 根据课包ids 获取购课记录的用户ids |
| | | */ |
| | | @PostMapping("/base/coursePackage/getCoursePackageByStoreIds") |
| | | List<Integer> getCoursePackageByStoreIds(@RequestBody List<Integer> storeIds); |
| | | /** |
| | | * 根据课包类型获取课包 |
| | | */ |
| | | @PostMapping("/base/coursePackage/getCoursePackageByType") |
| | | List<TCoursePackage> getCoursePackageByType(@RequestBody Integer typeId); |
| | | @PostMapping("/base/coursePackage/getCoursePackageByType/{typeId}/{storeId}") |
| | | List<TCoursePackage> getCoursePackageByType(@PathVariable("typeId") Integer typeId, @PathVariable("storeId")Integer storeId); |
| | | /** |
| | | * 根据门店id获取课包 |
| | | */ |
| | |
| | | |
| | | @PostMapping("/courdent/bypac") |
| | | List<Map<String, Object>> bypac(PacQueryDto pacQueryDto); |
| | | |
| | | |
| | | @PostMapping("/courdent/queryIdsByStore") |
| | | List<Integer> queryIdsByStore(Integer objectId); |
| | | |
| | | @PostMapping("/courdent/queryAble") |
| | | Integer queryAble(Integer id); |
| | | } |