puzhibing
2024-02-05 640ff18d2d7f4be02ddb7f8f75e899f05545eb98
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")
    List<IntroduceRewards> getGiftList(@RequestBody String cityCode);
}