package org.springblade.thirdparty.track.feign;

import org.springblade.thirdparty.track.config.TrackFeignClientConfig;
import org.springblade.thirdparty.track.pojo.dto.TrackWaybillSendDTO;
import org.springblade.thirdparty.track.pojo.vo.TrackResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 *  轨迹接口
 * @author bfhuange
 * @date 2024/12/16
 */
@FeignClient(name = "TRACK", url = "${thirdParty.track.baseUrl}", configuration = TrackFeignClientConfig.class)
public interface ITrackClient {

    /**
     *  发送运单
     * @param param
     * @return
     */
    @PostMapping("/baseapi/nnl_waybill/send")
    TrackResultVO sendWaybills(@RequestBody TrackWaybillSendDTO param);
}
