| | |
| | | import com.dsh.account.feignclient.competition.model.PurchaseRecordVo; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | |
| | | public interface IntroduceRewardsClient { |
| | | |
| | | |
| | | @PostMapping("/introduce/useOfRewards") |
| | | public List<PurchaseRecordVo> queryAppUsersofIntroduce(@RequestBody Date startTime, |
| | | @RequestBody Date endTime, |
| | | @RequestBody List<Integer> userIds); |
| | | @PostMapping("/base/introduce/useOfRewards") |
| | | public List<PurchaseRecordVo> queryAppUsersofIntroduce(@RequestParam("startTime") Date startTime, |
| | | @RequestParam("endTime") Date endTime, |
| | | @RequestParam("userIds") List<Integer> userIds); |
| | | |
| | | |
| | | |
| | | } |