puzhibing
2026-05-11 b7bb5daa5f4ffe1764a363a051a5d6f868168cf9
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
package com.xiaopeng.api.feignClient.operation;
 
import com.xiaopeng.api.factory.operation.XpSystemSettingClientFallbackFactory;
import com.xiaopeng.api.model.operation.XpFeedbackType;
import com.xiaopeng.api.model.operation.XpSystemSetting;
import com.xiaopeng.common.core.domain.R;
import com.xiaopeng.common.core.dto.ServiceNameConstantsEnum;
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;
 
@FeignClient(contextId = "XpSystemSettingClient", value = ServiceNameConstantsEnum.XP_OPERATION_SERVICE, fallbackFactory = XpSystemSettingClientFallbackFactory.class)
public interface XpSystemSettingClient {
 
 
    @GetMapping("/base/v1/support/getOrderDistance")
    R getOrderDistance();
 
    @GetMapping("/logan/rt/v1/getMinOrderDistance")
    R<Integer> getMinOrderDistance();
 
    /**
     * 获取自动结束行程时间
     * @return
     */
    @GetMapping("/api/v1/support/getOrderFinishTime")
    R<Integer> getOrderFinishTime();
 
    /**
     * 获取反馈类型
     * @return
     */
    @GetMapping("/base/v1/getFeedbackTypeById/{id}")
    R<XpFeedbackType> getFeedbackTypeById(@PathVariable("id")Long id);
 
 
    @ApiOperation(value = "获取系统配置、热修复", tags = {"管理后台-系统"})
    @GetMapping("/api/v1/systemSetting/getOne")
    R<XpSystemSetting> getSystemSettingOne();
}