liujie
2026-04-24 9e02dfdb98980ab1e6371592481afc396e3b9e47
xp-robotaxi-api/src/main/java/com/xiaopeng/api/feignClient/operation/XpSystemSettingClient.java
@@ -1,20 +1,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.Mapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PathVariable;
@FeignClient(contextId = "XpSystemSettingClient", value = ServiceNameConstantsEnum.XP_OPERATION_SERVICE, fallbackFactory = XpSystemSettingClientFallbackFactory.class)
public interface XpSystemSettingClient {
    @GetMapping("/base/v1/mini-program/support/getOrderDistance")
    @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();
}