mitao
2025-03-30 2ecb7b23283b79fae714eb1ac4fdcae446442638
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package com.dsh.course.feignClient.activity;
 
 
import com.dsh.course.feignClient.activity.model.*;
import com.dsh.guns.modular.system.model.*;
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.RequestMapping;
 
import java.util.List;
import java.util.Map;
 
/**
 * 介绍有礼
 */
@FeignClient(value = "mb-cloud-activity")
public interface IntroduceClient {
 
 
    /**
     * 获取介绍有礼-参与用户记录表
     * @return
     */
    @RequestMapping("/base/introduceUser/listAllUser")
    List<IntroduceUser> listAllUser(@RequestBody IntroduceUserQuery query);
    /**
     * 上/下架介绍有礼 type = 1上架 type=2下架
     * @return
     */
    @RequestMapping("/base/introduce/changeState")
    Object changeState(@RequestBody IntroduceChangeStateDTO dto);
    /**
     * 通过id获取介绍有礼
     * @return
     */
    @RequestMapping("/base/introduce/getInfoById")
    IntroduceRewards getInfoById(@RequestBody Integer id);
 
    /**
     * 获取介绍有礼记录表
     * @return
     */
    @RequestMapping("/base/introduce/listAll")
    List<IntroduceVO> listAll(@RequestBody IntroduceQuery query);
    /**
     * 增加/修改介绍有礼记录
     * @return
     */
    @RequestMapping("/base/introduce/addIntroduce")
    Object addIntroduce(@RequestBody IntroduceRewards  introduceRewards);
 
}