44323
2024-05-22 2c875554fd972600307a98ed8583f20545a55b99
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
package com.ruoyi.management.api.feignClient;
 
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.core.web.page.PageInfo;
import com.ruoyi.management.api.factory.TManagementFallbackFactory;
import com.ruoyi.management.api.model.*;
import com.ruoyi.management.api.query.UseGuideQuery;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
 
import java.util.List;
 
@FeignClient(contextId = "managementClient", value = ServiceNameConstants.MANAGEMENT_SERVICE, fallbackFactory = TManagementFallbackFactory.class)
public interface ManagementClient {
 
    @PostMapping(value = "/tSysSet/getPage1")
    R<List<TPage>> getPage1();
 
    @PostMapping("/tUser/getVipSet1")
    R<List<TVipSet>> getVipSet1();
 
    @PostMapping("/tSysSet/useGuide1")
    R<PageInfo<TUseGuide>> useGuide1(@RequestBody UseGuideQuery query);
 
    @PostMapping("/tFeedback/addFeedBack")
    R addFeedBack(@RequestBody TFeedback dto);
 
    @PostMapping("/tSysSet/agreement1/{type}")
    R<String> agreement1(@PathVariable("type") Integer type);
 
    /**
     * 获取分享图片、标题及可获积分数
     *
     * @return 获取分享图片、标题及可获积分数
     */
    @GetMapping("/tSysSet/shareInfo")
    @ApiOperation(value = "获取分享图片、标题及可获积分数", tags = {"获取分享图片、标题及可获积分数"})
    R<TSysSet> shareInfo();
 
}