xuhy
2026-04-17 4edaaf570a2cd8af8a9c35694a46289cdf9278b3
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
package com.xiaopeng.api.feignClient.operation;
 
import com.xiaopeng.api.factory.operation.XpSystemSettingClientFallbackFactory;
import com.xiaopeng.api.model.operation.XpFeedbackType;
import com.xiaopeng.common.core.domain.R;
import com.xiaopeng.common.core.dto.ServiceNameConstantsEnum;
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);
}