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();
|
}
|