|
|
@ -9,6 +9,8 @@ import io.swagger.annotations.ApiOperation; |
|
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import javax.validation.Valid; |
|
|
|
|
|
|
|
/** |
|
|
|
* Project: scm(scm) <br/> |
|
|
|
* File: ScmVehicleExamineFeign.java <br/> |
|
|
@ -43,7 +45,7 @@ public interface AppScmVehicleExamineFeign { |
|
|
|
@ApiOperation("手机端-保存验车单") |
|
|
|
@PostMapping("/saveCarInspectedInfo") |
|
|
|
@ResponseBody |
|
|
|
public ResultBean saveCarInspectedInfo(@RequestBody AppExamineDto dto); |
|
|
|
public ResultBean saveCarInspectedInfo(@Valid @RequestBody AppExamineDto dto); |
|
|
|
|
|
|
|
@ApiOperation("手机端-通过验车单") |
|
|
|
@PostMapping("/submitCarInspectedInfo") |
|
|
|