| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- //package com.ydtech.modules.ins.controller;
- //
- //import com.fasterxml.jackson.core.JsonProcessingException;
- //import com.ydtech.core.page.HttpResult;
- //import com.ydtech.exception.SystemException;
- //import com.ydtech.modules.ins.model.InsOrder;
- //import com.ydtech.modules.ins.model.ya.CarModel_Req;
- //import com.ydtech.modules.ins.model.ya.YaQuoteInfoVo;
- //import com.ydtech.modules.ins.service.InsRenbaoService;
- //import io.swagger.annotations.Api;
- //import io.swagger.annotations.ApiOperation;
- //import org.springframework.web.bind.annotation.*;
- //import org.springframework.web.client.RestClientException;
- //import org.springframework.web.client.RestTemplate;
- //
- //import java.io.IOException;
- //
- //@Api(tags = "人保报价")
- //@RestController
- //@RequestMapping("/api/insRenbao")
- //public class RenbaoController {
- //
- // private final InsRenbaoService insRenbaoService;
- //
- // public RenbaoController(InsRenbaoService insRenbaoService) {
- // this.insRenbaoService = insRenbaoService;
- // }
- //
- // @GetMapping("/licensePlateQuery")
- // @ApiOperation("车牌号查询车辆信息接口")
- // public HttpResult licensePlateQuery(@RequestParam(value = "licensePlate") String licensePlate) throws Exception {
- // return insRenbaoService.licensePlateQuery(licensePlate);
- // }
- //
- // @PostMapping("/modelsQuery")
- // @ApiOperation("车型查询接口")
- // public HttpResult modelsQuery(@RequestBody CarModel_Req carModelReq) {
- // return insRenbaoService.modelsQuery(carModelReq);
- // }
- //
- // @PostMapping("/quote")
- // @ApiOperation(value = "报价")
- //// @MethodLogAnnotation(title = "人保-报价")
- // public HttpResult quote(@RequestBody YaQuoteInfoVo yaQuoteInfoVo) throws JsonProcessingException {
- // try {
- // return insRenbaoService.quote(yaQuoteInfoVo);
- // } catch (RestClientException e) {
- // throw new SystemException("人保接口调用失败");
- // }
- // }
- //
- // @PostMapping("/audit")
- // @ApiOperation(value = "核保")
- //// @MethodLogAnnotation(title = "人保-核保")
- // public HttpResult audit(@RequestBody InsOrder orderno) throws IOException {
- // try {
- // return insRenbaoService.audit(orderno.getOrderno());
- // } catch (RestClientException e) {
- // throw new SystemException("人保接口调用失败");
- // }
- // }
- //
- //
- //}
|