曾超新 5 years ago
parent 6998493817
commit 438a62f5b0
  1. 8
      frontend/controllers/CarController.php
  2. 2
      frontend/views/car/order-add.php

@ -758,10 +758,10 @@ class CarController extends BaseController
'form_params' => $params,
'http_errors' => false,
]);
echo $url;
var_dump($params);
echo $res->getBody();
exit;
// echo $url;
// var_dump($params);
// echo $res->getBody();
// exit;
if($res->getStatusCode() == 200) {
$obj = json_decode($res->getBody());
if($obj->data && $obj->data->UserInfo && $obj->data->UserInfo->CarUsedType != '') {

@ -202,7 +202,7 @@ use common\models\PriceT;
<a class="btn btn-primary btn-xs" data-id="0" href="javascript:void(0);" onclick="getYingXiao();">
<i class="fa fa-gift"></i> 获取策略
</a>
<a class="btn btn-primary btn-xs" data-id="0" href="javascript:void(0);" onclick="calInsurance();">
<a class="btn btn-danger btn-xs" data-id="0" href="javascript:void(0);" onclick="calInsurance();">
<i class="fa fa-gift"></i> 获取算费结果
</a>
</div>

Loading…
Cancel
Save