package com.clx.performance.feign;

import com.clx.performance.param.pc.IntegralTruckAddParam;
import com.msl.common.result.Result;
import io.swagger.annotations.ApiOperation;
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 {

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

}
