package com.clx.performance.feign;

import com.clx.performance.param.pc.IntegralTruckAddParam;
import com.msl.common.result.Result;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "clx-performance",configuration = PerformanceClientConfiguration.class)
public interface IntegralTruckFeign {

    @Operation(summary = "新增车辆")
    @PostMapping("clx-performance/feign/integral/saveTruck")
    Result<Void> saveTruck(@RequestBody @Validated IntegralTruckAddParam param);

}
