package cn.iocoder.yudao.module.remote.api.path;

import cn.iocoder.yudao.module.remote.enums.ApiConstants;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = ApiConstants.NAME) // TODO 芋艿：fallbackFactory =
@Tag(name = "远遥服务 - 路径规划常规信息上报")
public interface RemotePathApi {
    String PREFIX = ApiConstants.PREFIX + "/path";

    @PostMapping(PREFIX + "/remoteDistanceInformation")
    @Operation(summary = "远遥同步车辆导航行走路程信息")
    void remoteDistanceInformation(@RequestParam("message") String message);

    @PostMapping(PREFIX + "/wirelessSignalStatus")
    @Operation(summary = "车辆信号信息")
    void wirelessSignalStatus(@RequestParam("message") String message);
}
