JourneyClient.java 823 Bytes
package cn.com.glsx.stdinterface.api;

import cn.com.glsx.stdinterface.dto.DeviceJourneyDTO;
import cn.com.glsx.stdinterface.factory.FreqRecordFallbackFactory;
import cn.com.glsx.stdinterface.factory.JourneyFallbackFactory;
import com.glsx.plat.core.web.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 新e盾|里程
 *
 * @author xiangyanlin
 * @date 2022/4/7
 */
@FeignClient(name = "ne-shield-standard-interfaces", path = "/nesi/journey", fallbackFactory = JourneyFallbackFactory.class, decode404 = true)
public interface JourneyClient {

    /**
     * 保存行程信息  同事更新概览信息
     *
     * @param deviceJourneyDTO
     */
    @PostMapping(value = "/save")
    R saveDeviceJourney(DeviceJourneyDTO deviceJourneyDTO);
}