puzhibing
2024-02-22 11f6d2627ce8eb37c6460892509460b0e19e5656
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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.RequestBody;
 
import java.util.List;
 
@FeignClient(value = "mb-cloud-activity")
public interface IntroduceRewardsClient {
 
 
    @PostMapping("/base/introduce/useOfRewards")
    public List<PurchaseRecordVo> queryAppUsersofIntroduce(@RequestBody IntrduceOfUserRequest request);
 
    @PostMapping("/base/introduce/getGiftList")
    List<IntroduceRewards> getGiftList(@RequestBody String cityCode);
 
 
}