无关风月
2024-07-11 eb6b6dbb35a9f029e0b7d269773685c19fd40976
cloud-server-account/src/main/java/com/dsh/account/feignclient/activity/IntroduceRewardsClient.java
@@ -1,12 +1,13 @@
package com.dsh.account.feignclient.activity;
import com.dsh.account.entity.IntroduceRewards;
import com.dsh.account.feignclient.activity.model.IntrduceOfUserRequest;
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.RequestParam;
import org.springframework.web.bind.annotation.RequestBody;
import java.util.Date;
import java.util.List;
@FeignClient(value = "mb-cloud-activity")
@@ -14,10 +15,10 @@
    @PostMapping("/base/introduce/useOfRewards")
    public List<PurchaseRecordVo> queryAppUsersofIntroduce(@RequestParam("startTime") Date startTime,
                                                           @RequestParam("endTime")  Date endTime,
                                                           @RequestParam("userIds")  List<Integer> userIds);
    public List<PurchaseRecordVo> queryAppUsersofIntroduce(@RequestBody IntrduceOfUserRequest request);
    @PostMapping("/base/introduce/getGiftList")
    IntroduceRewards getGiftList(@RequestBody String cityCode);
}